OpenASIP
2.0
|
#include <FUState.hh>
Public Member Functions | |
virtual | ~NullFUState () |
virtual void | endClock () |
virtual void | advanceClock () |
virtual void | addInputPortState (PortState &port) |
virtual void | addOutputPortState (PortState &port) |
virtual void | addOperationExecutor (OperationExecutor &opExec, Operation &op) |
virtual OperationExecutor * | executor (Operation &op) |
Public Member Functions inherited from FUState | |
FUState () | |
FUState (const TCEString &name) | |
virtual | ~FUState () |
void | setTriggered () |
void | setOperation (Operation &operation) |
void | setOperation (Operation &operation, OperationExecutor &executor) |
bool | isIdle () |
virtual void | setOperationSimulator (DetailedOperationSimulator &sim) |
virtual void | replaceOperationExecutor (Operation &op, OperationExecutor *newExecutor) |
virtual OperationContext & | context () |
virtual void | reset () |
this is called at (re)initialization of the simulation More... | |
Public Member Functions inherited from ClockedState | |
ClockedState () | |
virtual | ~ClockedState () |
Static Public Member Functions | |
static NullFUState & | instance () |
Private Member Functions | |
NullFUState () | |
NullFUState (const NullFUState &) | |
Copying not allowed. More... | |
NullFUState & | operator= (const NullFUState &) |
Assignment not allowed. More... | |
Static Private Attributes | |
static NullFUState | instance_ |
Unique instance of NullFUState. More... | |
Additional Inherited Members | |
Protected Attributes inherited from FUState | |
bool | idle_ |
The idle status of the FU. The derived classes should alway set this to true when possible to avoid unnecessary advanceClock() and endClock() calls. More... | |
Models non-existing FUState.
Definition at line 152 of file FUState.hh.
|
virtual |
|
private |
|
private |
Copying not allowed.
|
virtual |
Aborts the program with error message.
Reimplemented from FUState.
Definition at line 428 of file FUState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from FUState.
Definition at line 444 of file FUState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from FUState.
Definition at line 436 of file FUState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from FUState.
Definition at line 420 of file FUState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from FUState.
Definition at line 412 of file FUState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from FUState.
Definition at line 454 of file FUState.cc.
References abortWithError.
|
static |
Returns the instance of NullFUState.
Definition at line 392 of file FUState.cc.
References instance_.
Referenced by FUTestbenchGenerator::createStimulus(), MachineState::fuState(), and NullPortState::parent().
|
private |
Assignment not allowed.
|
staticprivate |
Unique instance of NullFUState.
Definition at line 177 of file FUState.hh.
Referenced by instance().