if(first)beginclp=uvm_cmdline_processor::get_inst();void'(clp.get_arg_matches("+UVM_STACKTRACE",stack_args));//Take into account if option is specified multiple times.foreach(stack_args[i])beginstringtemp;temp=stack_args[i].substr(16,stack_args[i].len()-1);// In case no additinal argument is specifiedif(temp=="")beginerror=1;fatal=1;enduvm_split_string(temp,",",split_vals);//For all the comma sepearted optionsforeach(split_vals[i])begincase(split_vals[i])"default":beginerror=1;fatal=1;end"debug":begindebug=1;end"info":begininfo=1;end
uvm_severityl_severity;l_severity=report_message.get_severity();case(l_severity)UVM_DEBUG:if(debug)$stack;UVM_INFO:if(info)$stack;UVM_WARNING:if(warn)$stack;UVM_ERROR:if(error)$stack;UVM_FATAL:if(fatal)$stack;endcase`endif$display("%s",composed_message);end// LOG action// if log is set we need to send to the file but not resend to the// display. So, we need to mask off stdout for an mcd or we need// to ignore the stdout file handle for a file handle.if(report_message.get_action()&UVM_LOG)if((report_message.get_file()==0)||
if(first)beginclp=uvm_cmdline_processor::get_inst();void'(clp.get_arg_matches("+UVM_STACKTRACE",stack_args));//Take into account if option is specified multiple times.foreach(stack_args[i])beginstringtemp;temp=stack_args[i].substr(16,stack_args[i].len()-1);// In case no additinal argument is specifiedif(temp=="")beginerror=1;fatal=1;enduvm_split_string(temp,",",split_vals);//For all the comma sepearted optionsforeach(split_vals[i])begincase(split_vals[i])"default":beginerror=1;fatal=1;end"debug":begindebug=1;end"info":begininfo=1;end