In reply to dave_59:
Hi Dave,
Thanks for your reply!
Actually, that agent is our company’s legacy code. And they used to launch the sequence by setting sequencer’s default_sequence in the following fashion: (part of my job is to convert the sequence launching method from “default_sequence associating” to using virtual sequence)
for (int i=0; i!=NUM_ETH_PORT; i++) begin
uvm_config_db #(uvm_object_wrapper)::set(this, $sformatf("ne_buf_nspi_agt_ne_wrch[%0d].m_seqr.main_phase", i), "default_sequence", nebuf_nspi_sequence::get_type());
end
I wonder why in the above code (in enviroment component), .m_seqr is correctly referred to the m_seqr inside nspi_master_agent_param class?