Demo to check that your analysis imports are connected or not..

  • It is very Time consuming to check all the analysis port connections manually.There is very easy solution to this and it’s shown below.
  • There are two methods called get_connected_to and get_provided_to in uvm_port_base class.

get_connected_to :  For an port or export type, this function fills ~list~ with all of the  ports, exports and implementations that this port is connected to

get_provided_toFor an implementation or export type, this function fills ~list~ with all of the ports, exports and implementations that this port is  provides its implementation to.

  • Below is a link of EDAPlayground , This example has a scoreboard with two analysis ports (good_xp and bad_xp). The good_xp is connected, while the bad_xp fails the connection check.

LINK : EXAMPLE for Analysis port connection check

More to come….

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: