functionnew(stringname="");super.new(name);m_rh=uvm_report_handler::type_id::create(name);endfunction//----------------------------------------------------------------------------// Group: Reporting//----------------------------------------------------------------------------// Function: uvm_get_report_object//// Returns the nearest uvm_report_object when called. From inside a// uvm_component, the method simply returns ~this~.// // See also the global version of <uvm_get_report_object>.functionuvm_report_objectuvm_get_report_object();
uvm_report_handlerm_rh;localbitm_rh_set;localfunctionvoidm_rh_init();if(!m_rh_set)set_report_handler(uvm_report_handler::type_id::create(get_name()));endfunction:m_rh_init// Function -- NODOCS -- new//// Creates a new report object with the given name. This method also creates// a new <uvm_report_handler> object to which most tasks are delegated.// @uvm-ieee 1800.2-2020 auto 6.3.2functionnew(stringname="");super.new(name);endfunction
// @uvm-ieee 1800.2-2020 auto 6.3.3.4virtualfunctionvoiduvm_process_report_message(uvm_report_messagereport_message);m_rh_init();report_message.set_report_object(this);m_rh.process_report_message(report_message);endfunction//----------------------------------------------------------------------------// Group -- NODOCS -- Verbosity Configuration//----------------------------------------------------------------------------// Function -- NODOCS -- get_report_verbosity_level//// Gets the verbosity level in effect for this object. Reports issued// with verbosity greater than this will be filtered out. The severity// and tag arguments check if the verbosity level has been modified for