In reply to chr_sue:
hi
in agent…
class axi_agent extends uvm_agent;
axi_storage strg;
function new(string name,uvm_component parent);
super.new(name,parent);
strg = axi_storage::type_id::create("strg",this);
uvm_config_db#(axi_storage)::set(this,"*","axi_storage",strg);
endfunction