I test the configuration method 'uvm_config_db' as the following code:
---------------------------------------------------------
class my_env extends uvm_env;
function void build_phase(uvm_phase phase);
super.build_phase(phase);
void'(get_config_int("debug", debug));
//set_config_int("inst2.u1", "v", 88);
uvm_config_db #(int)::set(this,"inst2.u1", "v", 9); // does not work !!!!
endfunction
---------------------------------------------------------
the method 'set_config_int' works well, but 'uvm_config_db' does not work, why i met this issue ?
note, i use UVM 1.1 lib.
Thanks for y