Dear All,
static function void set(uvm_component cntxt, string inst_name, string field_name, T value)
When we use “uvm_config_db”, usually we put some path into “inst_name” such as the below,
uvm_config_db#(virtual channel_if)::set(null, "*.tb.chan0.*", "vif", top.ch0);
uvm_config_db#(virtual channel_if)::set(null, "*.tb.chan1.*", "vif", top.ch1);
uvm_config_db#(virtual channel_if)::set(null, "*.tb.chan2.*", "vif", top.ch2);
Question 1.
But when we start project, we don’t know about overall hierarchy path to put a inst_name into uvm_config_db(); don’t we?
How do we know the hierarchy path into inst_name?