ujjalbose Posted November 28, 2014 Report Share Posted November 28, 2014 Hi, just wondering if there is a way to delay the quitting of simulation when max_quit_count number of errors occur. For e.g. : >uvm_report_server svr; >virtual function void build_phase(uvm_phase phase); > super.build_phase(phase); > svr = _global_reporter.get_report_server(); > svr.set_max_quit_count(1); >endfunction:build_phase In this example I want to exit after first error occurs, but want to insert some additional delay before actual $finish is called. This helps in debug. But I see that die() inside uvm_report_object.svh (which gets called when max_quit_count errors occur) is a function which calls $finish immediately : >virtual function void die(); > // make the pre_abort callbacks > uvm_root top = uvm_root::get(); > top.m_do_pre_abort(); > report_summarize(); > $finish; >endfunctionSo I am wondering if it is possible to insert some hash delay before quitting in any other way but still using the max_quit_count feature ? -Ujjal 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.