Hi,
I am curious to know how uvm_config_db works to send item from component class to object class. Since component and object class have no visibility to each others hierarchy, how does set-get method work across the classes?
I tried set() method in env class and get() method in sequence. I was able to use get() method only when I used get_sequencer(). get() method failed when I used null.
//sequence class: body task
//worked
uvm_config_db #( int )::get( get_sequencer() , "" , "valid" , valid );
//failed
uvm_config_db #( int )::get( null , "" , "valid" , valid );