Search the Community
Showing results for tags 'uvm_component'.
Found 2 results
amar712 posted a topic in UVM (Pre-IEEE) Methodology and BCL ForumI 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 or vice versa. How can I do that ?
Hi, Is there a way to avoid the "complex type usage" error when needing to feed a uvm_object a handle to an uvm_component? What I need to do is access within a sequence a method of one component in the environment. uvm_component: @build_phase uvm_config_db#(comp_type)::set(this, "*", comp_handle_name", this) uvm_sequence: @body: comp_type comp_inst; uvm_config_db #(comp_type)::get(this, "*", "comp_handle_name", comp_inst) comp_inst.my_method();