Jump to content
Sign in to follow this  

Changing severity of a uvm_warning to uvm_error

Recommended Posts


I am using the built in uvm comparators in my scoreboard.

But whenever there is a comparator mismatch, i am getting a warning.

What should be done to change this to error?

I searched and found that the Comparator mismatch warning is from Line 165 in uvm_in_order_comparator.svh

uvm_report_warning("Comparator Mismatch", s);

I tried using set_report_severity_id_override, but it didnt work.



Share this post

Link to post
Share on other sites

Sorry Dave,

I wasnt specifying the hierarchy.

I thought the Message ID is sufficient to find for the component.

After specifying the hierarchy, its working now.

Thanks you very much for the quick reply


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