OpenASIP
2.0
|
#include <RegisterFileState.hh>
Public Member Functions | |
virtual | ~NullRegisterFileState () |
virtual RegisterState & | registerState (int index) |
Public Member Functions inherited from RegisterFileState | |
RegisterFileState (int size, int width, bool zeroRegister=false) | |
virtual | ~RegisterFileState () |
virtual std::size_t | registerCount () const |
Static Public Member Functions | |
static NullRegisterFileState & | instance () |
Private Member Functions | |
NullRegisterFileState () | |
NullRegisterFileState (const NullRegisterFileState &) | |
Copying not allowed. More... | |
NullRegisterFileState & | operator= (const NullRegisterFileState &) |
Assignment not allowed. More... | |
Static Private Attributes | |
static NullRegisterFileState * | instance_ = NULL |
Unique instance of NullRegisterFileState. More... | |
Models non-existing RegisterFileState.
Definition at line 78 of file RegisterFileState.hh.
|
virtual |
|
private |
|
private |
Copying not allowed.
|
static |
Returns the instance of NullRegisterFileState.
Definition at line 111 of file RegisterFileState.cc.
References instance_, and NullRegisterFileState().
Referenced by MachineStateBuilder::buildMachineState(), RFTestbenchGenerator::createStimulus(), SimProgramBuilder::processBidirTerminal(), and MachineState::registerFileState().
|
private |
Assignment not allowed.
|
virtual |
Aborts the program with error message.
OutOfRange | Never throws. |
Reimplemented from RegisterFileState.
Definition at line 137 of file RegisterFileState.cc.
References abortWithError, and NullRegisterState::instance().
|
staticprivate |
Unique instance of NullRegisterFileState.
Definition at line 94 of file RegisterFileState.hh.
Referenced by instance().