Jump to content

Implementation of Analysis Ports in Scoreboard


Recommended Posts

Hi.

I am currently implementing a scoreboard that would interface different agents one at a time. Is there a way in which i can only declare only one analysis import which would be reusable for the different agents with different sequence items?

Thanks in advance.

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

Given that all of your agents use the same sequence item, you can connect (@ connect_phase) each of the agents' analysis ports to a single analysis export/imp in the scoreboard. That'll work, and easy to implement.

A better and more general approach is to implement a many-to-one "adapter" of analysis ports, then connect all agents to the "many" side of the adapter, and the "one" side of the adapter to the scoreboard.

 

If your agents use different sequence items, but your scoreboard applies a uniform logic to all of them, then you can have in your scoreboard a single analysis imp, parameterized to a common base class of your sequence items (e.g. uvm_sequence_item).

In this case you'll still need to implement some "adapting" in order to connect an analysis port of type <derived> to an analysis port of type <base>.

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