svt_status Class Reference

Inheritance diagram for class svt_status:

List of all members.


Detailed Description

Base class for all SVT model status data descriptor objects. As functionality commonly needed for status of SVT models is defined, it will be implemented (or at least prototyped) in this class.



Public Member Functions

virtual function vmm_data  allocate ( )
virtual function unsigned int  byte_pack ( ref logic [7:0] bytes[], input int unsigned offset, input int kind )
virtual function unsigned int  byte_unpack ( const ref logic [7:0] bytes[], input int unsigned offset, input int len, input int kind )
virtual function bit  compare ( vmm_data to, output string diff, input int kind )
virtual function vmm_data  copy ( vmm_data to = null )
function void  do_all ( vmm_data :: do_what_e do_what, ref logic [7:0] pack[], const ref logic [7:0] unpack[] )
function svt_notify  get_notify ( )
virtual function bit  is_valid ( bit silent = 1, int kind = -1 )
function void  new ( vmm_log log = null, string suite_name = "" )
virtual function string  psdisplay ( string prefix = "" )

Public Attributes

string  inst = SVT_UNSET_INST_NAME

Protected Attributes

static protected svt_status  __vmm_rhs 


Member Function Documentation

 virtual function vmm_data
 svt_status::allocate

 (   ) 


 Superseded functions 
 vmm_data :: allocate 
 svt_data :: allocate 

 virtual function unsigned int
 svt_status::byte_pack

 (  ref logic [7:0] bytes [], input int unsigned offset , input int kind  ) 


 Superseded functions 
 vmm_data :: byte_pack 
 svt_data :: byte_pack 

 virtual function unsigned int
 svt_status::byte_unpack

 (  const ref logic [7:0] bytes [], input int unsigned offset , input int len , input int kind  ) 


 Superseded functions 
 vmm_data :: byte_unpack 
 svt_data :: byte_unpack 

 virtual function bit
 svt_status::compare

 (  vmm_data to , output string diff , input int kind  ) 


 Superseded functions 
 vmm_data :: compare 
 svt_data :: compare 

 virtual function vmm_data
 svt_status::copy

 (  vmm_data to = null  ) 


 Superseded functions 
 vmm_data :: copy 
 svt_data :: copy 

  function void
 svt_status::do_all

 (  vmm_data :: do_what_e do_what , ref logic [7:0] pack [], const ref logic [7:0] unpack []  ) 


 Superseded functions 
 vmm_data :: do_all 
 svt_data :: do_all 

  function svt_notify
 svt_status::get_notify

 (   ) 


Helper method to get a handle to the notify data member, cast to an object of type svt_notify.

 virtual function bit
 svt_status::is_valid

 (  bit silent = 1, int kind = -1  ) 


 Superseded functions 
 vmm_data :: is_valid 
 svt_data :: is_valid 

  function void
 svt_status::new

 (  vmm_log log = null, string suite_name = ""  ) 


CONSTRUCTOR: Creates a new instance of the svt_status class, in addition to replacing the built-in vmm_notify with an extended svt_notify which includes the same base features.

log - An vmm_log object reference used to replace the default internal logger. The class extension that calls super.new should pass a reference to its own static log instance.

suite_name - A String that identifies the product suite to which the status object belongs.


 Superseded functions 
 svt_data :: new 

 virtual function string
 svt_status::psdisplay

 (  string prefix = ""  ) 


 Superseded functions 
 vmm_data :: psdisplay 
 svt_data :: psdisplay 


Member Attribute Documentation

 string  attribute
 svt_status::inst = SVT_UNSET_INST_NAME


Used to report the Instance Name of a transactor to this status object is for. The value is set by the transactor to match the Instance Name given the transactor by the transactor configuration object.

 static protected svt_status  attribute
 svt_status::__vmm_rhs