In reply to naaj_ila:
You should never be using $display in an UVM testbench. But, assuming this code is inside a UVM class, did you mean to use get**report**verbosity_level()?
Outside of UVM class use uvm_pkg::uvm_report_enabled
In reply to naaj_ila:
You should never be using $display in an UVM testbench. But, assuming this code is inside a UVM class, did you mean to use get**report**verbosity_level()?
Outside of UVM class use uvm_pkg::uvm_report_enabled