How to turn off "UVM Report Summary"

I am a VMM users and recently shifted to UVM. I find the UVM Report Summary less user-friendly and want to turn it off.

Hi,

You can turn off the report summary by simply clobbering the summarize() method of the report server. Just add the following in one of your TB files (perhaps the environment or test case?):

class my_report_server extends uvm_report_server;
  function void summarize(UVM_FILE file = 0);
       // Leave blank or define your own summary
  endfunction

  /* UNCOMMENT to remove report header
  function void report_header(UVM_FILE file = 0);
  endfunction */
endclass

Then instantiate this in a new() method or an early phase like build_phase:

function new (string name, uvm_component parent);
  my_report_server r_server;
  super.new(name, parent);

  r_server = new;
  uvm_report_server::set_server(r_server);
endfunction : new

Now your summary messages will be gone. :-) (Though I personally think it’s useful).

Cheers,
-Doug

In reply to Doug Smith:

Hey Doug,
Thanks, it worked!