How can I access the fields that are registered with factory

Hi,

i am registering the queues with ovm_field_queue_object in the ovm factory.

I want to access all the queues of an environment.

Please help me with the procedure to access the registered fields.

Using the field automation macros doesn’t register the specific fields with the factory. It just creates default implementations of some utilities such as copy, print, pack, etc. You might be confused because you usually use `ovm_object_utils(some_class) to register a class with the factory, but that’s not all it does.

If you want to access all queues in your environment then you have to traverse your hierarchy to the places where you know you defined queues. There’s no magic function that can do this for you.

You might want to look at the ovm_pool class which works like a much simpler config_db.