OpenASIP
2.0
|
#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 More... | |
Public Member Functions inherited from ReadableState | |
ReadableState () | |
virtual | ~ReadableState () |
Private Member Functions | |
DirectGuardState () | |
DirectGuardState (const DirectGuardState &) | |
Copying not allowed. More... | |
DirectGuardState & | operator= (const DirectGuardState &) |
Assignment not allowed. More... | |
Private Attributes | |
const ReadableState * | target_ |
The target register watched by this guard. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from GuardState | |
GuardState () | |
Only subclasses allowed to create empty GuardStates. More... | |
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 |
|
virtual |
|
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().