vmm_xactor Class Reference

Inheritance diagram for class vmm_xactor:

List of all members.



Public Member Functions

function void  append_callback ( vmm_xactor_callbacks cb )
function void  do_all ( vmm_xactor :: do_what_e what, vmm_xactor :: reset_e rst_typ = SOFT_RST )
function void  get_input_channels ( ref vmm_channel chans[$] )
function string  get_instance ( )
function string  get_name ( )
function void  get_output_channels ( ref vmm_channel chans[$] )
function void  kill ( )
function void  new ( string name, string inst, int stream_id = -1 )
function void  prepend_callback ( vmm_xactor_callbacks cb )
function string  psdisplay ( string prefix = "" )
function void  reset_xactor ( vmm_xactor :: reset_e rst_typ = SOFT_RST )
function void  restore_rng_state ( )
function void  save_rng_state ( )
function void  start_xactor ( )
function void  stop_xactor ( )
function void  unregister_callback ( vmm_xactor_callbacks cb )
function void  xactor_status ( string prefix = "" )

Public Attributes

vmm_log  log 
vmm_notify  notify 
int  stream_id 
vmm_channel  Xinput_chansX [$] 
vmm_channel  Xoutput_chansX [$] 
static vmm_xactor  _vmm_available_xactor [$] 
vmm_xactor_callbacks  callbacks [$] 

Protected Member Functions

virtual function void  do_kill_xactor ( )
virtual function string  do_psdisplay ( string prefix = "" )
virtual function void  do_reset_xactor ( vmm_xactor :: reset_e rst_typ )
virtual function void  do_start_xactor ( )
virtual function void  do_stop_xactor ( )
task   main ( )
task   wait_if_stopped ( int unsigned n_threads = 1 )
task   wait_if_stopped_or_empty ( vmm_channel chan, int unsigned n_threads = 1 )

Protected Attributes

protected int  reset_pending = 0; 
static protected bit  __vmm_done_user 
static protected string  __vmm_image 
static protected string  __vmm_prefix 

Member Typedefs

 typedef enum  do_what_e 
 typedef enum  notifications_e 
 typedef enum  reset_e 


Member Function Documentation

  function void
 vmm_xactor::append_callback

 (  vmm_xactor_callbacks cb  ) 

  function void
 vmm_xactor::do_all

 (  vmm_xactor :: do_what_e what , vmm_xactor :: reset_e rst_typ = SOFT_RST  ) 

 protected virtual function void
 vmm_xactor::do_kill_xactor

 (   ) 

 protected virtual function string
 vmm_xactor::do_psdisplay

 (  string prefix = ""  ) 

 protected virtual function void
 vmm_xactor::do_reset_xactor

 (  vmm_xactor :: reset_e rst_typ  ) 

 protected virtual function void
 vmm_xactor::do_start_xactor

 (   ) 

 protected virtual function void
 vmm_xactor::do_stop_xactor

 (   ) 

  function void
 vmm_xactor::get_input_channels

 (  ref vmm_channel chans [$]  ) 

  function string
 vmm_xactor::get_instance

 (   ) 


 Superseding functions 
 svt_xactor :: get_instance 

  function string
 vmm_xactor::get_name

 (   ) 

  function void
 vmm_xactor::get_output_channels

 (  ref vmm_channel chans [$]  ) 

  function void
 vmm_xactor::kill

 (   ) 

 protected task
 vmm_xactor::main

 (   ) 


 Superseding tasks 
 svt_mem_transaction_atomic_gen :: main 
 svt_mem_transaction_scenario_gen :: main 
 svt_xactor :: main 
 vmm_broadcast :: main 
 vmm_ms_scenario_gen :: main 
 vmm_scheduler :: main 
 xvc_xactor :: main 

  function void
 vmm_xactor::new

 (  string name , string inst , int stream_id = -1  ) 

  function void
 vmm_xactor::prepend_callback

 (  vmm_xactor_callbacks cb  ) 

  function string
 vmm_xactor::psdisplay

 (  string prefix = ""  ) 


 Superseding functions 
 svt_mem_transaction_atomic_gen :: psdisplay 
 svt_mem_transaction_scenario_gen :: psdisplay 
 vmm_broadcast :: psdisplay 
 vmm_ms_scenario_gen :: psdisplay 
 vmm_scheduler :: psdisplay 

  function void
 vmm_xactor::reset_xactor

 (  vmm_xactor :: reset_e rst_typ = SOFT_RST  ) 


 Superseding functions 
 svt_mem_transaction_atomic_gen :: reset_xactor 
 svt_mem_transaction_scenario_gen :: reset_xactor 
 svt_xactor :: reset_xactor 
 vmm_broadcast :: reset_xactor 
 vmm_ms_scenario_gen :: reset_xactor 
 vmm_scheduler :: reset_xactor 
 xvc_xactor :: reset_xactor 

  function void
 vmm_xactor::restore_rng_state

 (   ) 


 Superseding functions 
 xvc_xactor :: restore_rng_state 

  function void
 vmm_xactor::save_rng_state

 (   ) 


 Superseding functions 
 xvc_xactor :: save_rng_state 

  function void
 vmm_xactor::start_xactor

 (   ) 


 Superseding functions 
 svt_xactor :: start_xactor 
 vmm_broadcast :: start_xactor 
 vmm_scheduler :: start_xactor 
 xvc_xactor :: start_xactor 

  function void
 vmm_xactor::stop_xactor

 (   ) 


 Superseding functions 
 svt_xactor :: stop_xactor 
 vmm_broadcast :: stop_xactor 
 vmm_scheduler :: stop_xactor 
 xvc_xactor :: stop_xactor 

  function void
 vmm_xactor::unregister_callback

 (  vmm_xactor_callbacks cb  ) 

 protected task
 vmm_xactor::wait_if_stopped

 (  int unsigned n_threads = 1  ) 

 protected task
 vmm_xactor::wait_if_stopped_or_empty

 (  vmm_channel chan , int unsigned n_threads = 1  ) 

  function void
 vmm_xactor::xactor_status

 (  string prefix = ""  ) 


 Superseding functions 
 xvc_xactor :: xactor_status 


Member Attribute Documentation

 vmm_log  attribute
 vmm_xactor::log

 vmm_notify  attribute
 vmm_xactor::notify

 protected int  attribute
 vmm_xactor::reset_pending = 0

 int  attribute
 vmm_xactor::stream_id

 vmm_channel  attribute
 vmm_xactor::Xinput_chansX[$]

 vmm_channel  attribute
 vmm_xactor::Xoutput_chansX[$]

 static vmm_xactor  attribute
 vmm_xactor::_vmm_available_xactor[$]

 vmm_xactor_callbacks  attribute
 vmm_xactor::callbacks[$]

 static protected bit  attribute
 vmm_xactor::__vmm_done_user

 static protected string  attribute
 vmm_xactor::__vmm_image

 static protected string  attribute
 vmm_xactor::__vmm_prefix


Member Typedef Documentation

 typedef enum  vmm_xactor::do_what_e
DO_PRINT('h001)
DO_START('h002)
DO_STOP('h004)
DO_RESET('h010)
DO_KILL('h020)
DO_ALL('hFFF)

 typedef enum  vmm_xactor::notifications_e
XACTOR_IDLE(999999)
XACTOR_BUSY(999998)
XACTOR_STARTED(999997)
XACTOR_STOPPED(999996)
XACTOR_RESET(999995)
XACTOR_STOPPING(999994)
XACTOR_IS_STOPPED(999993)

 typedef enum  vmm_xactor::reset_e
SOFT_RST
PROTOCOL_RST
FIRM_RST
HARD_RST