Monthly Archives: April, 2016

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

 

 

%d bloggers like this: