SVT svt_log_format Class Member List

This is the complete list of members for class svt_log_format, including all inherited members.


 vmm_log_format   function string  abort_on_error ( int count, int limit )   
 svt_log_format   function void  check_err_cnt_exceeded ( string severity )  Method used to check whether this message will cause the number of errors to exceed (expected_err_cnt + unexpected_err_cnt_max) has been exceeded. If log != null and this sum has been exceeded the expected_err_cnt_exceeded event is triggered. A client env, subenv, etc., can catch the event to implement an orderly simulation exit. 
 svt_log_format   function string  continue_msg ( string name, string inst, string msg_typ, string severity, ref string lines[$] )  This virtual method is overloaded in this class extension to apply a different format (versus the default format used by vmm_log) to continuation lines of an output message. 
 svt_log_format   function void  enable_err_cnt_watch ( vmm_log log, int unexpected_err_cnt_max = -1 )  Enables watch of error counts by the svt_log_format instance. Once enabled, class will produce expected_err_cnt_exceeded event if number of errors exceeds (expected_err_cnt + unexpected_err_cnt_max).  
 svt_log_format  protected int  expected_err_cnt = 0; Maximum number of 'allowed' errors for test to still report "Passed".  
 svt_log_format  event  expected_err_cnt_exceeded Event to indicate that the expected_err_count has been exceeded and that the simulation should exit. Only supported if watch_expected_err_cnt enabled in the constructor. 
 svt_log_format  protected int  expected_fatal_cnt = 0; Maximum number of 'allowed' fatals for test to still report "Passed".  
 svt_log_format   function bit  expected_pass_or_fail ( int fatals, int errors, int warnings )  This utility method is provided to make it easy to find out out the current pass/fail situation relative to the 'expected' errors and warnings.  
 svt_log_format  protected int  expected_warn_cnt = 0; Maximum number of 'allowed' warnings for test to still report "Passed".  
 svt_log_format   function string  format_msg ( string name, string inst, string msg_typ, string severity, ref string lines[$] )  This virtual method is overloaded in this class extension to apply a different format (versus the default format used by vmm_log) to the first line of an output message. 
 svt_log_format   function int  get_expected_err_cnt ( )  Returns the current expected error count.  
 svt_log_format   function int  get_expected_fatal_cnt ( )  Returns the current expected fatal count (can only be 0 or 1).  
 svt_log_format   function int  get_expected_warn_cnt ( )  Returns the current expected warning count.  
 svt_log_format   function int  get_unexpected_err_cnt_max ( )  Returns the current unexpected error count maximum.  
 svt_log_format   function void  incr_expected_err_cnt ( int num = 1 )  Increments the expected error count by the number passed in.  
 svt_log_format   function void  incr_expected_fatal_cnt ( int num = 1 )  Increments the expected error count by the number passed in.  
 svt_log_format   function void  incr_expected_warn_cnt ( int num = 1 )  Increments the expected warning count by the number passed in.  
 svt_log_format  protected vmm_log  log = null; vmm_log that is used by the check_err_cnt_exceeded method to recognize an error failure.  
 svt_log_format   function void  new ( )  CONSTRUCTOR: Creates a new instance of the svt_log_format class. 
 svt_log_format   function string  pass_or_fail ( bit pass, string name, string inst, int fatals, int errors, int warnings, int dem_errs, int dem_warns )  This virtual method is extended to add the 'expected' error and warning counts into account in Pass or Fail calculations. 
 svt_log_format   function void  set_unexpected_err_cnt_max ( int new_max )  Sets the unexpected error count maximum to new_max.  
 svt_log_format  protected int  unexpected_err_cnt_max = 10; Maximum number of 'unexpected' errors to be allowed before exit.