How do I override the UVM report summary in UVM1.2 (make a custom uvm_report_server?)

In reply to kaushalmodi:

Kushalmodi,

great piece of flexible code, but i found a slight compilation bug.

From line 169, the string variable is still an integer for uvm-1.2 as well as uvm-1.1d


`ifndef UVM_1p1d
      virtual function string compose_report_message (uvm_report_message report_message,
                                                      string report_object_name = "");
         uvm_severity l_severity;
         uvm_verbosity l_verbosity;
         uvm_report_message_element_container el_container;
         uvm_report_handler l_report_handler;
         string message  = "";
         string filename = "";
         string line     = "";
         string id       = "";
`else
         virtual function string compose_message
           ( uvm_severity severity,
             string name,
             string id,
             string message,
             string filename,
             int line );
            // Do nothing
            return "";
         endfunction // compose_message

Although this has been coded for VCS it is a good start for other custom report servers. Thank you!