Jump to content

set register model to several agent

Recommended Posts



I am running into a situation which I have one register model, but there will be multiple identical agent need to use this regmodel to send sequence.


assume I have:


reg_agent agent[5];


and in build phase, can I use: 


foreach(agent) begin

 uvm_config_db #(ral_block_host_regmodel)::set(this, $sformatf("agent[%0d]",i), "regmodel", regmodel);
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...