Search the Community
Showing results for tags 'UVM_ERROR'.
-
What is the easiest way to get my simulation to die upon reaching the first UVM_ERROR? (I suppose the reporting class could be extended and overridden, or something like that, but if it gets too complicated (as this is not smthg I expect to do much), I'll just temporarily change the offending statements to `uvm_fatals....which is what I just did.) Is there a built-in switch or define that I can override at the command line?
-
What is the recommended way to call UVM report functions and macros from a static method in a uvm_component? Having the following code: static function static_check(); `uvm_error("ID", "Something failed"); endfunction causes a compile error: ** Error: testbench.sv(15): (vlog-2888) Illegal to access non-static method 'uvm_report_enabled' from a static method. Full example can be edited and run here: http://www.edaplayground.com/s/4/762