Hi All,
In the xbus examples, just came across this below configuration.
set_config_int({inst_name, “"}, “master_id”, i);
Eg:
for(int i = 0; i < num_masters; i++) begin
$sformat(inst_name, “masters[%0d]”, i);
masters[i] = xbus_master_agent::type_id::create(inst_name, this);
set_config_int({inst_name, "”}, “master_id”, i);
end
Does this pass the master_id, from the environment to the agent and the respective components like the driver and the sequencer or it just passes the master_id from environment to the agent, and the rest we got to pass…
Kindly help out.
Thanks in Adv,
Desperado → :rolleyes: