Hi,
I set the value of var1 at uvm_config_db:
uvm_config_db #(int)::set (this, "", “var1”, 100);*
Then I try to read it:
**
if(!uvm_config_db #(int)::get(null, get_full_name(), “var1”, var1)) begin
`uvm_error(“connect_phase”, “Could not find var1 in config_db”)
end
$display(“DRIVER var1=”, var1);****
I get the value 0 for var1 instead of 100 as one would expect.
I checked that uvm_config_db with dump and I can see that var1 is 100.
How can I read the expected value for var1?
thanks,
ze’ev