Hi,
To get the knowledge on UVM , I am trying to create an AHB master sub environment , and this sub environment may contain multiple agents depending upon configuration (for example , ahb master sub environment contains only four ahb masters) , so i used a dynamic array inside the ahb master sub environment to store the ahb-master-agents.
I declared a dynamic array in “ahb-master-sub-env_config_object” to store individual “ahb_master_agent_config-objects” & these individual ahb_master_agent configuration is done within the test_base.
within the “ahb-master-sub-env”, i did some more configuration for “few ahb_master_agents” & i want to assign these “ahb-master-agent_config_objects” to its corresponding “ahb-master-agent” only
i.e the scope of “ahb-master_agent_config[0]” is limited to “ahb-master-agent[0]” only
ie. ahb-master_agent[1 … 3] cannot access " ahb-master_agent_config[0]" from database ,
Would anyone please say , how to acheive this.
I am unable to use uvm_config-db at the ahb-master-agent to get its configuration object from the database, so , within the build phase of ahb-master-sub-env , i directly assigned indivudal ahb-master-agent config objects to its corresponding ahb-master-agents.
But i want to use uvm-config-db method , would anyone please say, how to acheive this.
Thanks in advance.
Thanks
kamalesh