Mani Posted December 14, 2010 Report Share Posted December 14, 2010 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 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.