How to convert code which use resurce_db to config_db

In reply to saritr:

The setting from the top_tb is correct.
Retrieving the the virtual interface in the agent looks like this:
uvm_config_db#(virtual axi_interface)::get(this, “”, .name(“axi_interface”), .val(vif));
this is indicating a relative path.
The scope is the concatenation of this and “”.