svt_log_callbacks Class Reference

Inheritance diagram for class svt_log_callbacks:

List of all members.


Detailed Description

This class is an extension used by the verification environment to catch the pre_abort callback before the simulator exits. In the callback extension, the vmm_env :: report method is called in order to provide context to the events that lead up to the fatal error.



Public Member Functions

function void  new ( vmm_env env = null )
function void  pre_abort ( vmm_log log )

Protected Attributes

protected vmm_env  env 


Member Function Documentation

  function void
 svt_log_callbacks::new

 (  vmm_env env = null  ) 


CONSTRUCTOR: Creates a new instance of the svt_log_callbacks class.

  function void
 svt_log_callbacks::pre_abort

 (  vmm_log log  ) 


This virtual method is extended to catch situations when the simulator is about to abort after the stop_after_n_errors limit has been reached or a fatal error has been generated. The only objective is to put out an appropriate Passed/Failed message based on this event.

 Superseded functions 
 vmm_log_callbacks :: pre_abort 


Member Attribute Documentation

 protected vmm_env  attribute
 svt_log_callbacks::env


ENV backpointer that is used used by the pre_abort method.