In reply to MayurKubavat:
I set the rx_agent_config in the env. It should be with this, not null.
Regarding
//Alternate way is to use small delay before getting the
//object in module initial block
initial
begin
#1;
if(!uvm_config_db #(rx_agent_config)::get(this, "", "db_rx_agent_config", m_rx_cfg))
`uvm_error("top", "rx_agent_config not found")
end
It doesn’t recognize “this” when I try to compile