Jump to content

Changing the type of a ml_tlm1 with the UVM factory


Recommended Posts

Hi,

is it possible to change the type of a ml_tlm1 by using the UVM factory?

 

Inside the UVC environment class:

uvm_ml::ml_tlm1#(eq_transaction)::register(agent.monitor.in_port);

In a test or in the testbench:

factory.set_inst_override_by_type(eq_transaction::get_type(),
                                  dem_transaction::get_type(),
                                  {get_full_name(),"*.u_sym.env0.*"}); 

Thanks

 

 

 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...