Jump to content

Mani

Members
  • Posts

    1
  • Joined

  • Last visited

Mani's Achievements

Member

Member (1/2)

0

Reputation

  1. Hi, Is there any inbuilt function at a uvm component level to find out the number of UVM_ERROR's? Presently I am getting a handle of the uvm_report_server and then calling get_severity_count, as shown below. The user just uses the num_uvm_errors function. If an in-built function is available at a component level, then the user need not bother about getting a report_server handle. Thanks for the inputs. -------code------ virtual function int num_uvm_errors(); if(server==null) server = get_report_server(); return server.get_severity_count(UVM_ERROR); endfunction ------- Regards, Mani
×
×
  • Create New...