vmm_xactor Class Reference

Inheritance list for class vmm_xactor:

List of all members.
Typedef at line 542 of file std_lib/vmm.sv.
Defined at line 1622 of file std_lib/vmm.sv.

Public Member Functions

virtual function void  append_callback ( vmm_xactor_callbacks cb )
virtual function string  get_instance ( )
virtual function string  get_name ( )
function void  new ( string name, string inst, int stream_id = 1 )
virtual function void  prepend_callback ( vmm_xactor_callbacks cb )
virtual function void  reset_xactor ( reset_e rst_typ = SOFT_RST )
virtual function void  restore_rng_state ( )
virtual function void  save_rng_state ( )
virtual function void  start_xactor ( )
virtual function void  stop_xactor ( )
virtual function void  unregister_callback ( vmm_xactor_callbacks cb )
virtual function void  xactor_status ( string prefix = "" )

Public Attributes

vmm_log  log 
string  main_rng_state 
bit  main_running 
int  n_threads_stopped 
int  n_threads_to_stop 
vmm_notify  notify 
bit  reset_it 
event  reset_it_event 
bit  resetable 
bit  restore_main_rng_state 
bit  save_main_rng_state 
bit  start_it 
event  start_it_event 
bit  stop_it 
int  stream_id 

Protected Member Functions

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

vmm_xactor_callbacks  callbacks 
int  reset_pending 

Enum Typedefs

 typedef enum  notifications_e 
 typedef enum  reset_e 


Member Function Documentation

 virtual function void
 vmm_xactor::append_callback

 (  vmm_xactor_callbacks cb  ) 


Prototype at line 1690 of file std_lib/vmm.sv.
Defined at line 347 of file std_lib/vmm_xactor.sv.

 virtual function string
 vmm_xactor::get_instance

 (   ) 


Prototype at line 1674 of file std_lib/vmm.sv.
Defined at line 160 of file std_lib/vmm_xactor.sv.

 virtual function string
 vmm_xactor::get_name

 (   ) 


Prototype at line 1673 of file std_lib/vmm.sv.
Defined at line 155 of file std_lib/vmm_xactor.sv.

 protected virtual task
 vmm_xactor::main

 (   ) 


 Superseding tasks 
 vmm_broadcast :: main 
 vmm_rw_xactor :: main 
 vmm_scheduler :: main 
 xvc_xactor :: main 


Prototype at line 1684 of file std_lib/vmm.sv.
Defined at line 257 of file std_lib/vmm_xactor.sv.

  function void
 vmm_xactor::new

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


 Superseding functions 
 vmm_broadcast :: new 
 vmm_ral_access :: new 
 vmm_rw_xactor :: new 
 vmm_scheduler :: new 
 xvc_xactor :: new 


Prototype at line 1657 of file std_lib/vmm.sv.
Defined at line 26 of file std_lib/vmm_xactor.sv.

 virtual function void
 vmm_xactor::prepend_callback

 (  vmm_xactor_callbacks cb  ) 


Prototype at line 1689 of file std_lib/vmm.sv.
Defined at line 330 of file std_lib/vmm_xactor.sv.

 virtual function void
 vmm_xactor::reset_xactor

 (  reset_e rst_typ = SOFT_RST  ) 


 Superseding functions 
 vmm_broadcast :: reset_xactor 
 vmm_rw_xactor :: reset_xactor 
 vmm_scheduler :: reset_xactor 
 xvc_xactor :: reset_xactor 


Prototype at line 1678 of file std_lib/vmm.sv.
Defined at line 184 of file std_lib/vmm_xactor.sv.

 virtual function void
 vmm_xactor::restore_rng_state

 (   ) 


 Superseding functions 
 xvc_xactor :: restore_rng_state 


Prototype at line 1681 of file std_lib/vmm.sv.
Defined at line 226 of file std_lib/vmm_xactor.sv.

 virtual function void
 vmm_xactor::save_rng_state

 (   ) 


 Superseding functions 
 xvc_xactor :: save_rng_state 


Prototype at line 1680 of file std_lib/vmm.sv.
Defined at line 213 of file std_lib/vmm_xactor.sv.

 virtual function void
 vmm_xactor::start_xactor

 (   ) 


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


Prototype at line 1676 of file std_lib/vmm.sv.
Defined at line 165 of file std_lib/vmm_xactor.sv.

 virtual function void
 vmm_xactor::stop_xactor

 (   ) 


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


Prototype at line 1677 of file std_lib/vmm.sv.
Defined at line 172 of file std_lib/vmm_xactor.sv.

 virtual function void
 vmm_xactor::unregister_callback

 (  vmm_xactor_callbacks cb  ) 


Prototype at line 1691 of file std_lib/vmm.sv.
Defined at line 364 of file std_lib/vmm_xactor.sv.

 protected task
 vmm_xactor::wait_if_stopped

 (  int unsigned n_threads = 1  ) 


Prototype at line 1685 of file std_lib/vmm.sv.
Defined at line 262 of file std_lib/vmm_xactor.sv.

 protected task
 vmm_xactor::wait_if_stopped_or_empty

 (  vmm_channel chan, int unsigned n_threads = 1  ) 


Prototype at line 1687 of file std_lib/vmm.sv.
Defined at line 311 of file std_lib/vmm_xactor.sv.

 virtual function void
 vmm_xactor::xactor_status

 (  string prefix = ""  ) 


 Superseding functions 
 xvc_xactor :: xactor_status 


Prototype at line 1683 of file std_lib/vmm.sv.
Defined at line 239 of file std_lib/vmm_xactor.sv.


Member Attribute Documentation

 protected  vmm_xactor_callbacks  attribute
 vmm_xactor::callbacks


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

  vmm_log  attribute
 vmm_xactor::log


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

 local  string  attribute
 vmm_xactor::main_rng_state


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

 local  bit  attribute
 vmm_xactor::main_running


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

 local  int  attribute
 vmm_xactor::n_threads_stopped


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

 local  int  attribute
 vmm_xactor::n_threads_to_stop


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

  vmm_notify  attribute
 vmm_xactor::notify


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

 local  bit  attribute
 vmm_xactor::reset_it


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

 local  event  attribute
 vmm_xactor::reset_it_event


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

 protected  int  attribute
 vmm_xactor::reset_pending


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

 local  bit  attribute
 vmm_xactor::resetable


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

 local  bit  attribute
 vmm_xactor::restore_main_rng_state


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

 local  bit  attribute
 vmm_xactor::save_main_rng_state


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

 local  bit  attribute
 vmm_xactor::start_it


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

 local  event  attribute
 vmm_xactor::start_it_event


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

 local  bit  attribute
 vmm_xactor::stop_it


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

  int  attribute
 vmm_xactor::stream_id


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


Member Enum Typedef Documentation

 typedef enum
 vmm_xactor::notifications_e

XACTOR_IDLE = 999999
XACTOR_BUSY = 999998
XACTOR_STARTED = 999997
XACTOR_STOPPED = 999996
XACTOR_RESET = 999995
XACTOR_STOPPING = 999994


 Superseding enum typedefs 
 vmm_rw_xactor :: notifications_e 


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

 typedef enum
 vmm_xactor::reset_e

SOFT_RST
PROTOCOL_RST
FIRM_RST
HARD_RST


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