Jump to content
Sign in to follow this  
kbx2124

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×