vmm_log Class Reference

Inheritance diagram for class vmm_log:

List of all members.



Public Member Functions

function void  add_watchpoint ( int watchpoint_id, string name = "", string inst = "", bit recurse = 0 )
function void  append_callback ( vmm_log_callbacks cb )
function int  catch ( vmm_log_catcher catcher, string name = "", string inst = "", bit recurse = 0, int typs = ALL_TYPS, int severity = ALL_SEVS, string text = "" )
function vmm_log  copy ( vmm_log to = null )
function int  create_watchpoint ( int typs = ALL_TYPS, int severity = ALL_SEVS, string text = "", logic issued = 1'bx )
function void  disable_types ( int typs, string name = "", string inst = "", bit recursive = 0 )
function void  display ( string prefix = "" )
function void  enable_types ( int typs, string name = "", string inst = "", bit recursive = 0 )
function void  end_msg ( )
function vmm_log  for_each ( )
function string  get_instance ( )
function int  get_message_count ( int severity = ALL_SEVS, string name = "", string inst = "", bit recurse = 0 )
function string  get_name ( )
function int  get_verbosity ( )
function string  handling_image ( int handling )
function void  is_above ( vmm_log log )
function void  is_not_above ( vmm_log log )
function void  kill ( )
function void  list ( string name = "/./", string inst = "/./", bit recurse = 0 )
function void  log_start ( int file, string name = "", string inst = "", bit recurse = 0 )
function void  log_stop ( int file, string name = "", string inst = "", bit recurse = 0 )
function int  modify ( string name = "", string inst = "", bit recursive = 0, int typ = ALL_TYPS, int severity = ALL_SEVS, string text = "", int new_typ = UNCHANGED, int new_severity = UNCHANGED, int handling = UNCHANGED )
function void  new ( string name, string inst, vmm_log under = null )
function void  prepend_callback ( vmm_log_callbacks cb )
function string  psdisplay ( string prefix = "" )
function void  remove_watchpoint ( int watchpoint_id = -1, string name = "", string inst = "", bit recurse = 0 )
function void  report ( string name = "/./", string inst = "/./", bit recurse = 0 )
function void  reset ( string name = "/./", string inst = "/./", bit recurse = 0 )
function vmm_log_format  set_format ( vmm_log_format fmt )
function void  set_instance ( string inst )
function void  set_name ( string name )
function string  set_sev_image ( int severity, string image )
function string  set_typ_image ( int typ, string image )
function void  set_verbosity ( int severity, string name = "", string inst = "", bit recursive = 0 )
function string  sev_image ( int severity )
function bit  start_msg ( int typ, int severity = DEFAULT_SEV )
function void  stop_after_n_errors ( int n )
function bit  text ( string msg = "" )
function string  typ_image ( int typ )
function bit  uncatch ( int catcher_id )
function void  uncatch_all ( )
function void  unmodify ( int modification_id = -1, string name = "", string inst = "", bit recursive = 0 )
function void  unregister_callback ( vmm_log_callbacks cb )
function void  use_hier_inst_name ( )
function void  use_orig_inst_name ( )
task   wait_for_msg ( string name = "", string inst = "", bit recurse = 0, int typs = ALL_TYPS, int severity = ALL_SEVS, string text = "", logic issued = 1'bx, ref vmm_log_msg msg )
task   wait_for_watchpoint ( int watchpoint_id, ref vmm_log_msg msg )
function bit  uses_hier_inst_name ( )

Public Attributes

vmm_log  below [$] 
static vmm_opts  _vmm_opts 

Member Typedefs

 typedef enum  handling_e 
 typedef enum  severities_e 
 typedef enum  stdout_e 
 typedef enum  symbols_e 
 typedef enum  types_e 


Member Function Documentation

  function void
 vmm_log::add_watchpoint

 (  int watchpoint_id , string name = "", string inst = "", bit recurse = 0  ) 

  function void
 vmm_log::append_callback

 (  vmm_log_callbacks cb  ) 

  function int
 vmm_log::catch

 (  vmm_log_catcher catcher , string name = "", string inst = "", bit recurse = 0, int typs = ALL_TYPS, int severity = ALL_SEVS, string text = ""  ) 

  function vmm_log
 vmm_log::copy

 (  vmm_log to = null  ) 

  function int
 vmm_log::create_watchpoint

 (  int typs = ALL_TYPS, int severity = ALL_SEVS, string text = "", logic issued = 1'bx  ) 

  function void
 vmm_log::disable_types

 (  int typs , string name = "", string inst = "", bit recursive = 0  ) 

  function void
 vmm_log::display

 (  string prefix = ""  ) 

  function void
 vmm_log::enable_types

 (  int typs , string name = "", string inst = "", bit recursive = 0  ) 

  function void
 vmm_log::end_msg

 (   ) 

  function vmm_log
 vmm_log::for_each

 (   ) 

  function string
 vmm_log::get_instance

 (   ) 

  function int
 vmm_log::get_message_count

 (  int severity = ALL_SEVS, string name = "", string inst = "", bit recurse = 0  ) 

  function string
 vmm_log::get_name

 (   ) 

  function int
 vmm_log::get_verbosity

 (   ) 

  function string
 vmm_log::handling_image

 (  int handling  ) 

  function void
 vmm_log::is_above

 (  vmm_log log  ) 

  function void
 vmm_log::is_not_above

 (  vmm_log log  ) 

  function void
 vmm_log::kill

 (   ) 

  function void
 vmm_log::list

 (  string name = "/./", string inst = "/./", bit recurse = 0  ) 

  function void
 vmm_log::log_start

 (  int file , string name = "", string inst = "", bit recurse = 0  ) 

  function void
 vmm_log::log_stop

 (  int file , string name = "", string inst = "", bit recurse = 0  ) 

  function int
 vmm_log::modify

 (  string name = "", string inst = "", bit recursive = 0, int typ = ALL_TYPS, int severity = ALL_SEVS, string text = "", int new_typ = UNCHANGED, int new_severity = UNCHANGED, int handling = UNCHANGED  ) 

  function void
 vmm_log::new

 (  string name , string inst , vmm_log under = null  ) 

  function void
 vmm_log::prepend_callback

 (  vmm_log_callbacks cb  ) 

  function string
 vmm_log::psdisplay

 (  string prefix = ""  ) 

  function void
 vmm_log::remove_watchpoint

 (  int watchpoint_id = -1, string name = "", string inst = "", bit recurse = 0  ) 

  function void
 vmm_log::report

 (  string name = "/./", string inst = "/./", bit recurse = 0  ) 

  function void
 vmm_log::reset

 (  string name = "/./", string inst = "/./", bit recurse = 0  ) 

  function vmm_log_format
 vmm_log::set_format

 (  vmm_log_format fmt  ) 

  function void
 vmm_log::set_instance

 (  string inst  ) 

  function void
 vmm_log::set_name

 (  string name  ) 

  function string
 vmm_log::set_sev_image

 (  int severity , string image  ) 

  function string
 vmm_log::set_typ_image

 (  int typ , string image  ) 

  function void
 vmm_log::set_verbosity

 (  int severity , string name = "", string inst = "", bit recursive = 0  ) 

  function string
 vmm_log::sev_image

 (  int severity  ) 

  function bit
 vmm_log::start_msg

 (  int typ , int severity = DEFAULT_SEV  ) 

  function void
 vmm_log::stop_after_n_errors

 (  int n  ) 

  function bit
 vmm_log::text

 (  string msg = ""  ) 

  function string
 vmm_log::typ_image

 (  int typ  ) 

  function bit
 vmm_log::uncatch

 (  int catcher_id  ) 

  function void
 vmm_log::uncatch_all

 (   ) 

  function void
 vmm_log::unmodify

 (  int modification_id = -1, string name = "", string inst = "", bit recursive = 0  ) 

  function void
 vmm_log::unregister_callback

 (  vmm_log_callbacks cb  ) 

  function void
 vmm_log::use_hier_inst_name

 (   ) 

  function void
 vmm_log::use_orig_inst_name

 (   ) 

  task
 vmm_log::wait_for_msg

 (  string name = "", string inst = "", bit recurse = 0, int typs = ALL_TYPS, int severity = ALL_SEVS, string text = "", logic issued = 1'bx, ref vmm_log_msg msg  ) 

  task
 vmm_log::wait_for_watchpoint

 (  int watchpoint_id , ref vmm_log_msg msg  ) 

  function bit
 vmm_log::uses_hier_inst_name

 (   ) 


Member Attribute Documentation

 vmm_log  attribute
 vmm_log::below[$]

 static vmm_opts  attribute
 vmm_log::_vmm_opts


Member Typedef Documentation

 typedef enum  vmm_log::handling_e
CONTINUE('h0001)
COUNT_ERROR('h0002)
DEBUGGER('h0004)
DUMP_STACK('h0008)
STOP_PROMPT('h0010)
ABORT_SIM('h0020)
IGNORE('h0040)
DEFAULT_HANDLING(-1)

 typedef enum  vmm_log::severities_e
FATAL_SEV('h0001)
ERROR_SEV('h0002)
WARNING_SEV('h0004)
NORMAL_SEV('h0008)
TRACE_SEV('h0010)
DEBUG_SEV('h0020)
VERBOSE_SEV('h0040)
HIDDEN_SEV('h0080)
IGNORE_SEV('h0100)
DEFAULT_SEV(-1)
ALL_SEVS('hFFFF)

 typedef enum  vmm_log::stdout_e
STDOUT(32'h8000_0001)

 typedef enum  vmm_log::symbols_e
DEFAULT(-1)
UNCHANGED(-2)

 typedef enum  vmm_log::types_e
FAILURE_TYP('h0001)
NOTE_TYP('h0002)
DEBUG_TYP('h0004)
REPORT_TYP('h0008)
NOTIFY_TYP('h0010)
TIMING_TYP('h0020)
XHANDLING_TYP('h0040)
PROTOCOL_TYP('h0080)
TRANSACTION_TYP('h0100)
COMMAND_TYP('h0200)
CYCLE_TYP('h0400)
USER_TYP_0('h0800)
USER_TYP_1('h1000)
USER_TYP_2('h2000)
INTERNAL_TYP('h4000)
DEFAULT_TYP(-1)
ALL_TYPS('hFFFF)