I wanted to know how I can disable the UVM_WARNING message to be printed to the log?
Few options:
-
Command line argument:
uvm_cmdline_processorExample:
+uvm_set_action=uvm_test_top.env0.*,ALL,UVM_ERROR,UVM_NO_ACTION -
Using: set_report_severity_id_override
https://verificationacademy.com/verification-methodology-reference/uvm/src/base/uvm_report_object.svhExample:
uvm_root::get().set_report_severity_id_override(UVM_WARNING,“my_test”,UVM_INFO); -
Using the uvm_report_catcher to tweak the severity of the messages:
uvm_report_catcher
Thank you! I was able to suppress the warnings.
You are welcome.
Which option did you use eventually?
I used the second option-
base_class_obj.set_report_severity_id_override(UVM_WARNING,“my_test”,UVM_INFO);