Uvm_config_db get in UVM_object

In reply to verif_25:

The first argument of uvm_config_db is a uvm_component handle, or null.

Your agent configuration is probably derived from uvm_object, so the handle “this” is the wrong type. Either pass in a component handle, such as the agent’s


``` verilog
uvm_config_db #(int)::get(agt, "", "RD_LATENCY",RD_LATENCY)

Or make the call inside a component such as the agent, and pass "this".

If you derived the config object from uvm_component, as I tried yesterday, it leads to ordering problems. The test creates the configuration before components are created, but the agent config would have to be a child of the agent. Don't do it.