In the env, there is such uvm_config_db::set():
for (int i = 0; i < host_num; i++) begin
inst_name = $sformatf("*.v_seq.slv_seq[%0d]", i);
uvm_config_db#(uvm_event)::set(uvm_root::get(), inst_name, "evt", env.subenv[i].slv_agt.slv_mon.evt);
end
in the slv_seq, there is such uvm_config_db::get():
if(!uvm_config_db#(uvm_event)::get(null, this.get_full_name(), "evt", evt))
`uvm_fatal("NOEVT",{"evt must be set for: ",get_full_name(),".evt"});
When I use +UVM_CONFIG_DB_TRACE, I found such message:
UVM_INFO /EDA_Tools/synopsys/vcs1209/etc/uvm-1.1/uvm-1.1d/sr