Jump to content

multiple threads of a sequence on different instances of same agents


Recommended Posts

I am new to uvm and trying to map existing tb to uvm.

I have a sequence which has multiple threads (instances). I also have several instances of one master agent. At run time based on plusargs it is decided which thread will run on which agent.

For example,

my_agent m_agent[4];

my_sequence m_sequence[4];

m_sequence[0] can run on m_agent[1], m_sequence[1] can run on m_agent[0] ....

Once selected, the agent will continue to run that sequence for the entire test.

What will be the best way to switch agent's default sequences to different sequences at run time?

I come from the VMM world and I just used to pass the handle of the selected channel to each of the sequence threads.

Edited by alltech
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.

Guest
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...