Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

How do we extract a full path design from Scoreboard when there is a `uvm_error?

$
0
0

Hi,

How do we extract a full path design from Scoreboard when there is a `uvm_error?

For example,

my_module has the following assigments:   (array of virtual interfaces, while each VF accepts data and data enable signals, with unique names)

assign my_module_internal_vif[#num].data_en = main_tb.<unique_name_per_each_signal>
assign my_module_internal_vif[#num].data = main_tb.<unique_name_per_each_signal>;

While there is a `uvm_error which happens in Scoreboard, I have the trans object (which is sent from the monitor). The trans has a field with instance number, but it doesn't monitor the signals themselves.

I have the #num or thre error.

My objective to to extract with a kind way, the full path design as a string and print it, given the number of the instance, i.e, when there is a `uvm_error, from trans[#num ], recognize  my_module_internal_vif[#num]  and then print the full path design which indicates which data enable was triggered and which data was compared.

Thanks for your help!


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>