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