#include <GuardState.hh>
Models a GuardState that has a latency of 1.
Definition at line 122 of file GuardState.hh.
◆ OneClockGuardState() [1/3]
OneClockGuardState::OneClockGuardState |
( |
const ReadableState & |
targetRegister | ) |
|
Constructor.
- Parameters
-
targetRegister | The targer register this guard watches. |
Definition at line 140 of file GuardState.cc.
const ReadableState * target_
The target register watched by this guard.
◆ ~OneClockGuardState()
OneClockGuardState::~OneClockGuardState |
( |
| ) |
|
|
virtual |
◆ OneClockGuardState() [2/3]
OneClockGuardState::OneClockGuardState |
( |
| ) |
|
|
private |
◆ OneClockGuardState() [3/3]
◆ advanceClock()
void OneClockGuardState::advanceClock |
( |
| ) |
|
|
virtual |
◆ endClock()
void OneClockGuardState::endClock |
( |
| ) |
|
|
virtual |
◆ operator=()
◆ value()
const SimValue & OneClockGuardState::value |
( |
| ) |
const |
|
virtual |
Returns the current value of the guard.
- Returns
- The current value of the guard.
Reimplemented from GuardState.
Definition at line 171 of file GuardState.cc.
References target_, and ReadableState::value().
const ReadableState * target_
The target register watched by this guard.
virtual const SimValue & value() const =0
◆ target_
The documentation for this class was generated from the following files: