|
OpenASIP 2.2
|
#include <GuardState.hh>


Public Member Functions | |
| DirectGuardState (const ReadableState &targetRegister) | |
| virtual | ~DirectGuardState () |
| virtual const SimValue & | value () const |
| virtual void | endClock () |
| virtual void | advanceClock () |
Public Member Functions inherited from GuardState | |
| GuardState (const ReadableState &targetRegister, int latency) | |
| virtual | ~GuardState () |
Public Member Functions inherited from ClockedState | |
| ClockedState () | |
| virtual | ~ClockedState () |
| virtual void | reset () |
| this is called at (re)initialization of the simulation | |
Public Member Functions inherited from ReadableState | |
| ReadableState () | |
| virtual | ~ReadableState () |
Private Member Functions | |
| DirectGuardState () | |
| DirectGuardState (const DirectGuardState &) | |
| Copying not allowed. | |
| DirectGuardState & | operator= (const DirectGuardState &) |
| Assignment not allowed. | |
Private Attributes | |
| const ReadableState * | target_ |
| The target register watched by this guard. | |
Additional Inherited Members | |
Protected Member Functions inherited from GuardState | |
| GuardState () | |
| Only subclasses allowed to create empty GuardStates. | |
Models a GuardState that reads value immediately from the source. Register guard latency 1 or port guard latency 0
Definition at line 123 of file GuardState.hh.
| DirectGuardState::DirectGuardState | ( | const ReadableState & | targetRegister | ) |
Constructor.
| targetRegister | The targer register this guard watches. |
Definition at line 142 of file GuardState.cc.
|
virtual |
|
private |
|
private |
Copying not allowed.
|
virtual |
Does nothing.
Reimplemented from GuardState.
Definition at line 164 of file GuardState.cc.
|
virtual |
Does nothing.
Reimplemented from GuardState.
Definition at line 157 of file GuardState.cc.
|
private |
Assignment not allowed.
|
virtual |
Returns the current value of the guard.
Reimplemented from GuardState.
Definition at line 173 of file GuardState.cc.
References target_, and ReadableState::value().

|
private |
The target register watched by this guard.
Definition at line 142 of file GuardState.hh.
Referenced by value().