paragsathe Posted June 26, 2012 Report Posted June 26, 2012 Hi, 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. Thanks. Parag Quote
dave_59 Posted June 26, 2012 Report Posted June 26, 2012 my_comparator.set_report_severity_id_override(.cur_severity(UVM_WARNING),.id("Comparator Mismatch"),.new_severity(UVM_ERROR)); should have worked. What did you do? Quote
paragsathe Posted June 26, 2012 Author Report Posted June 26, 2012 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 Parag Quote
paragsathe Posted June 27, 2012 Author Report Posted June 27, 2012 I had a quick question. Shouldnt a comparator mismatch be fired as a error by default? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.