Use the output of a module inside a class (including task (generator)

In reply to saketa:

Hi,
Question is not clear to me. I think you are trying to pass values from module to your class. In that case make use of uvm_config_db class, just set value in module and get that value in your class. If you change value in module same value will appear in class variable. You can also make use of uvm_pool or uvm_queue.

Regards,
Raghu