vmm_log Class Reference

Inheritance list for class vmm_log:

List of all members.
Typedef at line 540 of file std_lib/vmm.sv.
Defined at line 642 of file std_lib/vmm.sv.

Public Member Functions

virtual function void  add_watchpoint ( int watchpoint_id, string name = "", string inst = "", bit recurse = 0 )
virtual function void  append_callback ( vmm_log_callbacks cb )
virtual function vmm_log  copy ( vmm_log to = NULL )
virtual function int  create_watchpoint ( int typs = ALL_TYPS, int severity = ALL_SEVS, string text = "", logic issued = 1'bx )
local function int  default_handling ( int severity )
virtual function void  disable_types ( int typs, string name = "", string inst = "", bit recursive = 0 )
virtual function void  display ( string prefix = "" )
virtual function void  enable_types ( int typs, string name = "", string inst = "", bit recursive = 0 )
virtual function void  end_msg ( )
local function void  filter ( )
local function void  flush_msg ( )
function vmm_log  for_each ( )
virtual function string  get_instance ( )
virtual function int  get_message_count ( int severity = ALL_SEVS, string name = "", string inst = "", bit recurse = 0 )
virtual function string  get_name ( )
function int  get_verbosity ( )
function string  handling_image ( int handling )
virtual function void  is_above ( vmm_log log )
virtual function void  kill ( )
virtual function void  list ( string name = "/./", string inst = "/./", bit recurse = 0 )
virtual function void  log_start ( int file, string name = "", string inst = "", bit recurse = 0 )
virtual function void  log_stop ( int file, string name = "", string inst = "", bit recurse = 0 )
virtual 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 )
local function void  notify ( )
virtual function void  prepend_callback ( vmm_log_callbacks cb )
local function void  promote ( )
virtual function string  psdisplay ( string prefix = "" )
virtual function void  remove_watchpoint ( int watchpoint_id = 1, string name = "", string inst = "", bit recurse = 0 )
virtual function void  report ( string name = "/./", string inst = "/./", bit recurse = 0 )
function void  reset ( string name = "/./", string inst = "/./", bit recurse = 0 )
virtual function vmm_log_format  set_format ( vmm_log_format fmt )
virtual function void  set_instance ( string inst )
virtual function void  set_name ( string name )
virtual function string  set_sev_image ( int severity, string image )
virtual function string  set_typ_image ( int typ, string image )
virtual function void  set_verbosity ( int severity, string name = "", string inst = "", bit recursive = 0 )
function string  sev_image ( int severity )
virtual function bit  start_msg ( int typ, int severity = DEFAULT_SEV )
virtual function void  stop_after_n_errors ( int n )
virtual function bit  text ( string msg = "" )
function string  typ_image ( int typ )
virtual function void  unmodify ( int modification_id = 1, string name = "", string inst = "", bit recursive = 0 )
virtual function void  unregister_callback ( vmm_log_callbacks cb )
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, vmm_log_msg msg )
task  wait_for_watchpoint ( int watchpoint_id, vmm_log_msg msg )

Public Attributes

vmm_log  below 
vmm_log_callbacks  callbacks 
int  dflt_lvl 
int  enabled_typs 
int  error_count 
int  error_limit 
vmm_log_format  fmt 
int  force_lvl 
int  fp 
int  has_text_modifiers 
int  in_callbacks 
string  inst 
bit  is_all 
bit  is_pattern 
int  is_self 
vmm_log  known 
int  known_idx 
int  log_lvl 
vmm_log_modifier  modifier_cache 
int  modifier_ids 
vmm_log_msg  msg 
string  msg_format 
string  msg_txt 
int  n_demoted 
int  n_msg 
string  name 
string  pattern 
bit  plus_debug 
string  prefix 
int  recurse 
int  recurse_id 
vmm_log_below_iter  recurse_stack 
string  sev_images 
int  sev_list 
string  type_images 
int  type_list 
int  visited 
vmm_log_watchpoint  watchpoint_cache 
int  watchpoint_ids 

Enum Typedefs

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


Member Function Documentation

 virtual function void
 vmm_log::add_watchpoint

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


Prototype at line 913 of file std_lib/vmm.sv.
Defined at line 1395 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::append_callback

 (  vmm_log_callbacks cb  ) 


Prototype at line 925 of file std_lib/vmm.sv.
Defined at line 1481 of file std_lib/vmm_log.sv.

 virtual function vmm_log
 vmm_log::copy

 (  vmm_log to = NULL  ) 


Prototype at line 790 of file std_lib/vmm.sv.
Defined at line 513 of file std_lib/vmm_log.sv.

 virtual function int
 vmm_log::create_watchpoint

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


Prototype at line 909 of file std_lib/vmm.sv.
Defined at line 1368 of file std_lib/vmm_log.sv.

 local function int
 vmm_log::default_handling

 (  int severity  ) 


Prototype at line 820 of file std_lib/vmm.sv.
Defined at line 700 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::disable_types

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


Prototype at line 847 of file std_lib/vmm.sv.
Defined at line 1006 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::display

 (  string prefix = ""  ) 


Prototype at line 805 of file std_lib/vmm.sv.
Defined at line 561 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::enable_types

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


Prototype at line 843 of file std_lib/vmm.sv.
Defined at line 986 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::end_msg

 (   ) 


Prototype at line 834 of file std_lib/vmm.sv.
Defined at line 837 of file std_lib/vmm_log.sv.

 local function void
 vmm_log::filter

 (   ) 


Prototype at line 863 of file std_lib/vmm.sv.
Defined at line 1200 of file std_lib/vmm_log.sv.

 local function void
 vmm_log::flush_msg

 (   ) 


Prototype at line 835 of file std_lib/vmm.sv.
Defined at line 904 of file std_lib/vmm_log.sv.

  function vmm_log
 vmm_log::for_each

 (   ) 


Prototype at line 800 of file std_lib/vmm.sv.
Defined at line 246 of file std_lib/vmm_log.sv.

 virtual function string
 vmm_log::get_instance

 (   ) 


Prototype at line 795 of file std_lib/vmm.sv.
Defined at line 543 of file std_lib/vmm_log.sv.

 virtual function int
 vmm_log::get_message_count

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


Prototype at line 892 of file std_lib/vmm.sv.
Defined at line 1329 of file std_lib/vmm_log.sv.

 virtual function string
 vmm_log::get_name

 (   ) 


Prototype at line 793 of file std_lib/vmm.sv.
Defined at line 533 of file std_lib/vmm_log.sv.

  function int
 vmm_log::get_verbosity

 (   ) 


Prototype at line 870 of file std_lib/vmm.sv.
Defined at line 1276 of file std_lib/vmm_log.sv.

  function string
 vmm_log::handling_image

 (  int handling  ) 


Prototype at line 819 of file std_lib/vmm.sv.
Defined at line 684 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::is_above

 (  vmm_log log  ) 


Prototype at line 789 of file std_lib/vmm.sv.
Defined at line 505 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::kill

 (   ) 


Prototype at line 808 of file std_lib/vmm.sv.
Defined at line 579 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::list

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


Prototype at line 803 of file std_lib/vmm.sv.
Defined at line 550 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::log_start

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


Prototype at line 878 of file std_lib/vmm.sv.
Defined at line 1284 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::log_stop

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


Prototype at line 882 of file std_lib/vmm.sv.
Defined at line 1305 of file std_lib/vmm_log.sv.

 virtual 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  ) 


Prototype at line 856 of file std_lib/vmm.sv.
Defined at line 1035 of file std_lib/vmm_log.sv.

  function void
 vmm_log::new

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


Prototype at line 787 of file std_lib/vmm.sv.
Defined at line 313 of file std_lib/vmm_log.sv.

 local function void
 vmm_log::notify

 (   ) 


Prototype at line 864 of file std_lib/vmm.sv.
Defined at line 1218 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::prepend_callback

 (  vmm_log_callbacks cb  ) 


Prototype at line 924 of file std_lib/vmm.sv.
Defined at line 1464 of file std_lib/vmm_log.sv.

 local function void
 vmm_log::promote

 (   ) 


Prototype at line 862 of file std_lib/vmm.sv.
Defined at line 1138 of file std_lib/vmm_log.sv.

 virtual function string
 vmm_log::psdisplay

 (  string prefix = ""  ) 


Prototype at line 806 of file std_lib/vmm.sv.
Defined at line 566 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::remove_watchpoint

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


Prototype at line 917 of file std_lib/vmm.sv.
Defined at line 1419 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::report

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


Prototype at line 824 of file std_lib/vmm.sv.
Defined at line 711 of file std_lib/vmm_log.sv.

  function void
 vmm_log::reset

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


Prototype at line 799 of file std_lib/vmm.sv.
Defined at line 173 of file std_lib/vmm_log.sv.

 virtual function vmm_log_format
 vmm_log::set_format

 (  vmm_log_format fmt  ) 


Prototype at line 813 of file std_lib/vmm.sv.
Defined at line 586 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::set_instance

 (  string inst  ) 


Prototype at line 794 of file std_lib/vmm.sv.
Defined at line 538 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::set_name

 (  string name  ) 


Prototype at line 792 of file std_lib/vmm.sv.
Defined at line 528 of file std_lib/vmm_log.sv.

 virtual function string
 vmm_log::set_sev_image

 (  int severity, string image  ) 


Prototype at line 815 of file std_lib/vmm.sv.
Defined at line 640 of file std_lib/vmm_log.sv.

 virtual function string
 vmm_log::set_typ_image

 (  int typ, string image  ) 


Prototype at line 814 of file std_lib/vmm.sv.
Defined at line 598 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::set_verbosity

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


Prototype at line 869 of file std_lib/vmm.sv.
Defined at line 1261 of file std_lib/vmm_log.sv.

  function string
 vmm_log::sev_image

 (  int severity  ) 


Prototype at line 818 of file std_lib/vmm.sv.
Defined at line 654 of file std_lib/vmm_log.sv.

 virtual function bit
 vmm_log::start_msg

 (  int typ, int severity = DEFAULT_SEV  ) 


Prototype at line 831 of file std_lib/vmm.sv.
Defined at line 738 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::stop_after_n_errors

 (  int n  ) 


Prototype at line 888 of file std_lib/vmm.sv.
Defined at line 1321 of file std_lib/vmm_log.sv.

 virtual function bit
 vmm_log::text

 (  string msg = ""  ) 


Prototype at line 833 of file std_lib/vmm.sv.
Defined at line 817 of file std_lib/vmm_log.sv.

  function string
 vmm_log::typ_image

 (  int typ  ) 


Prototype at line 817 of file std_lib/vmm.sv.
Defined at line 612 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::unmodify

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


Prototype at line 860 of file std_lib/vmm.sv.
Defined at line 1086 of file std_lib/vmm_log.sv.

 virtual function void
 vmm_log::unregister_callback

 (  vmm_log_callbacks cb  ) 


Prototype at line 926 of file std_lib/vmm.sv.
Defined at line 1498 of file std_lib/vmm_log.sv.

 virtual 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, vmm_log_msg msg  ) 


Prototype at line 904 of file std_lib/vmm.sv.
Defined at line 1348 of file std_lib/vmm_log.sv.

 virtual task
 vmm_log::wait_for_watchpoint

 (  int watchpoint_id, vmm_log_msg msg  ) 


Prototype at line 919 of file std_lib/vmm.sv.
Defined at line 1446 of file std_lib/vmm_log.sv.


Member Attribute Documentation

  vmm_log  attribute
 vmm_log::below


Defined at line 771 of file std_lib/vmm.sv.

 static local  vmm_log_callbacks  attribute
 vmm_log::callbacks


Defined at line 757 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::dflt_lvl


Defined at line 720 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::enabled_typs


Defined at line 749 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::error_count


Defined at line 712 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::error_limit


Defined at line 713 of file std_lib/vmm.sv.

 static local  vmm_log_format  attribute
 vmm_log::fmt


Defined at line 755 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::force_lvl


Defined at line 721 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::fp


Defined at line 762 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::has_text_modifiers


Defined at line 744 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::in_callbacks


Defined at line 756 of file std_lib/vmm.sv.

 local  string  attribute
 vmm_log::inst


Defined at line 725 of file std_lib/vmm.sv.

 local  bit  attribute
 vmm_log::is_all


Defined at line 768 of file std_lib/vmm.sv.

 static local  bit  attribute
 vmm_log::is_pattern


Defined at line 776 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::is_self


Defined at line 767 of file std_lib/vmm.sv.

 static local  vmm_log  attribute
 vmm_log::known


Defined at line 769 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::known_idx


Defined at line 777 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::log_lvl


Defined at line 750 of file std_lib/vmm.sv.

 static local  vmm_log_modifier  attribute
 vmm_log::modifier_cache


Defined at line 742 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::modifier_ids


Defined at line 743 of file std_lib/vmm.sv.

 local  vmm_log_msg  attribute
 vmm_log::msg


Defined at line 733 of file std_lib/vmm.sv.

 static local  string  attribute
 vmm_log::msg_format


Defined at line 714 of file std_lib/vmm.sv.

 local  string  attribute
 vmm_log::msg_txt


Defined at line 734 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::n_demoted


Defined at line 728 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::n_msg


Defined at line 727 of file std_lib/vmm.sv.

 local  string  attribute
 vmm_log::name


Defined at line 724 of file std_lib/vmm.sv.

 static local  string  attribute
 vmm_log::pattern


Defined at line 775 of file std_lib/vmm.sv.

 static local  bit  attribute
 vmm_log::plus_debug


Defined at line 722 of file std_lib/vmm.sv.

 static local  string  attribute
 vmm_log::prefix


Defined at line 715 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::recurse


Defined at line 778 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::recurse_id


Defined at line 772 of file std_lib/vmm.sv.

 static local  vmm_log_below_iter  attribute
 vmm_log::recurse_stack


Defined at line 779 of file std_lib/vmm.sv.

 static local  string  attribute
 vmm_log::sev_images


Defined at line 740 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::sev_list


Defined at line 739 of file std_lib/vmm.sv.

 static local  string  attribute
 vmm_log::type_images


Defined at line 737 of file std_lib/vmm.sv.

 static local  int  attribute
 vmm_log::type_list


Defined at line 736 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::visited


Defined at line 773 of file std_lib/vmm.sv.

 static local  vmm_log_watchpoint  attribute
 vmm_log::watchpoint_cache


Defined at line 746 of file std_lib/vmm.sv.

 local  int  attribute
 vmm_log::watchpoint_ids


Defined at line 747 of file std_lib/vmm.sv.


Member Enum Typedef Documentation

 typedef enum
 vmm_log::handling_e

CONTINUE = 1
COUNT_ERROR = 1
DEBUGGER = 1
DUMP_STACK = 1
STOP_PROMPT = 1
ABORT_SIM = 1
IGNORE = 1
DEFAULT_HANDLING = 1


Defined at line 702 of file std_lib/vmm.sv.

 typedef enum
 vmm_log::severities_e

FATAL_SEV = 1
ERROR_SEV = 1
WARNING_SEV = 1
NORMAL_SEV = 1
TRACE_SEV = 1
DEBUG_SEV = 1
VERBOSE_SEV = 1
HIDDEN_SEV = 1
IGNORE_SEV = 1
DEFAULT_SEV = 1
ALL_SEVS = 1


Defined at line 689 of file std_lib/vmm.sv.

 typedef enum
 vmm_log::stdout_e

STDOUT = 1


Defined at line 707 of file std_lib/vmm.sv.

 typedef enum
 vmm_log::symbols_e

DEFAULT = 0
UNCHANGED = 1


Defined at line 651 of file std_lib/vmm.sv.

 typedef enum
 vmm_log::types_e

FAILURE_TYP = 2
NOTE_TYP = 2
DEBUG_TYP = 2
REPORT_TYP = 2
NOTIFY_TYP = 2
TIMING_TYP = 2
XHANDLING_TYP = 2
PROTOCOL_TYP = 2
TRANSACTION_TYP = 2
COMMAND_TYP = 2
CYCLE_TYP = 2
USER_TYP_0 = 2
USER_TYP_1 = 2
USER_TYP_2 = 2
INTERNAL_TYP = 2
DEFAULT_TYP = 2
ALL_TYPS = 1


Defined at line 673 of file std_lib/vmm.sv.