vmm_xactor Class Reference

Inheritance diagram for vmm_xactor:

Inheritance graph
[legend]
Collaboration diagram for vmm_xactor:

Collaboration graph
[legend]

List of all members.

Public Types

enum  notifications_e {
  XACTOR_IDLE = 999999, XACTOR_BUSY = 999998, XACTOR_STARTED = 999997, XACTOR_STOPPED = 999996,
  XACTOR_RESET = 999995, XACTOR_STOPPING = 999994
}
enum  reset_e { SOFT_RST, PROTOCOL_RST, FIRM_RST, HARD_RST }

Public Member Functions

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

Public Attributes

vmm_log log
vmm_notify notify
int stream_id

Protected Member Functions

virtual void main ()
void wait_if_stopped (int unsigned n_threads=1)
void wait_if_stopped_or_empty (vmm_channel chan, int unsigned n_threads=1)

Protected Attributes

int reset_pending = 0
vmm_xactor_callbacks callbacks [$]

Private Attributes

bit start_it
event start_it_event
bit stop_it
int n_threads_to_stop
int n_threads_stopped
bit reset_it
bit resetable
event reset_it_event
bit main_running
bit save_main_rng_state
bit restore_main_rng_state
string main_rng_state


Detailed Description

Definition at line 1618 of file std_lib/vmm.sv.


Member Enumeration Documentation

Enumerator:
XACTOR_IDLE 
XACTOR_BUSY 
XACTOR_STARTED 
XACTOR_STOPPED 
XACTOR_RESET 
XACTOR_STOPPING 

Definition at line 1628 of file std_lib/vmm.sv.

Enumerator:
SOFT_RST 
PROTOCOL_RST 
FIRM_RST 
HARD_RST 

Definition at line 1667 of file std_lib/vmm.sv.


Member Function Documentation

vmm_xactor::new ( string  name,
string  inst,
int  stream_id = -1 
)

Definition at line 23 of file vmm_xactor.sv.

string vmm_xactor::get_name (  )  [virtual]

Definition at line 155 of file vmm_xactor.sv.

string vmm_xactor::get_instance (  )  [virtual]

Definition at line 160 of file vmm_xactor.sv.

void vmm_xactor::start_xactor (  )  [virtual]

Reimplemented in vmm_broadcast, vmm_scheduler, and xvc_xactor.

Definition at line 165 of file vmm_xactor.sv.

void vmm_xactor::stop_xactor (  )  [virtual]

Reimplemented in vmm_broadcast, vmm_scheduler, and xvc_xactor.

Definition at line 172 of file vmm_xactor.sv.

void vmm_xactor::reset_xactor ( reset_e  rst_typ = SOFT_RST  )  [virtual]

Reimplemented in vmm_broadcast, vmm_scheduler, and xvc_xactor.

Definition at line 184 of file vmm_xactor.sv.

void vmm_xactor::save_rng_state (  )  [virtual]

Reimplemented in xvc_xactor.

Definition at line 213 of file vmm_xactor.sv.

void vmm_xactor::restore_rng_state (  )  [virtual]

Reimplemented in xvc_xactor.

Definition at line 226 of file vmm_xactor.sv.

void vmm_xactor::xactor_status ( string  prefix = " "  )  [virtual]

Reimplemented in xvc_xactor.

Definition at line 239 of file vmm_xactor.sv.

void vmm_xactor::main (  )  [protected, virtual]

Reimplemented in vmm_broadcast, vmm_scheduler, and xvc_xactor.

Definition at line 257 of file vmm_xactor.sv.

void vmm_xactor::wait_if_stopped ( int unsigned  n_threads = 1  )  [protected]

Definition at line 262 of file vmm_xactor.sv.

void vmm_xactor::wait_if_stopped_or_empty ( vmm_channel  chan,
int unsigned  n_threads = 1 
) [protected]

Definition at line 311 of file vmm_xactor.sv.

void vmm_xactor::prepend_callback ( vmm_xactor_callbacks  cb  )  [virtual]

Definition at line 330 of file vmm_xactor.sv.

void vmm_xactor::append_callback ( vmm_xactor_callbacks  cb  )  [virtual]

Definition at line 347 of file vmm_xactor.sv.

void vmm_xactor::unregister_callback ( vmm_xactor_callbacks  cb  )  [virtual]

Definition at line 364 of file vmm_xactor.sv.


Member Data Documentation

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

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

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

bit vmm_xactor::start_it [private]

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

event vmm_xactor::start_it_event [private]

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

bit vmm_xactor::stop_it [private]

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

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

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

bit vmm_xactor::reset_it [private]

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

bit vmm_xactor::resetable [private]

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

event vmm_xactor::reset_it_event [private]

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

int vmm_xactor::reset_pending = 0 [protected]

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

bit vmm_xactor::main_running [private]

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

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

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

string vmm_xactor::main_rng_state [private]

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

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


The documentation for this class was generated from the following files:

Intelligent Design Verification
Intelligent Design Verification
Project: VMM, Revision: 1.0.1
Copyright (c) 2008 Intelligent Design Verification.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included here:
http://www.intelligentdv.com/licenses/fdl.txt
doxygen
Doxygen Version: 1.5.6
Sat Oct 18 11:32:42 2008
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV