Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

sequence is not running - make sure sequencer name 'correct'

$
0
0
//This is not a question, but me storing some debug notes online, lest I run into this problem again.
 
 
//good for debugging this issue, print_topology in particular.  Put them in your test.
      `uvm_info("TEST",$psprintf(" TOPOLOGY..............................."),UVM_HIGH);
      uvm_top.print_topology();
      `uvm_info("TEST",$psprintf(" CONFIG_DB_DUMP..............................."),UVM_HIGH);
      uvm_config_db::dump();
 
 
//When a sequence doesn't run, double-check the following.
 
//in the test (or wherever) where we assign the sequence to run on a sequencer
      uvm_config_db#(uvm_object_wrapper)::set(this,
                                              "*.dpx_xyz_agent_m.dpx_xyz_seq.main_phase",
                                              "default_sequence",
                                              dpx_xyz_simple1_seq::type_id::get());
 

//compare the name of the sequencer with the name that is given to the factory for the sequencer, when it is created

 
//where we create the sequencer (in the agent), what name did we supply to it with the factory?
      m_seq = dpx_xyz_sequencer::type_id::create("dpx_xyz_seq", this);
 
//make sure they match.  This problem has bitten me a few times.

 

 


Viewing all articles
Browse latest Browse all 756

Trending Articles