Communication between uvm_sequence and uvm_component

I have two classes, one is block_seq which extends from uvm_sequence and other is block_cfg_mngr which extends from uvm_component. How do I exchange information between these two. I need to generate random values in block_cfg_mngr which depends on the values I generate in the bock_sequence body method. I need a communication mechanism to pass the information from uvm_sequence to uvm_component. How can I do that ?

In reply to AMARDEEP R PALURU:

Hi,

You extend your uvm_component from uvm_sequencer. Then you can access all the properties and functions of that component in your sequences by calling them with a suffix p_sequencer.

Hi,

Mailbox, Queue(SV)/UVM Queue can be used to communicate between UVM Component and Sequence. You’ll have to declare handle for mailbox/queue in upper level component from where you plan to use sequence and the below component.