OpenASIP
2.0
|
#include <LongImmediateUnitState.hh>
Public Member Functions | |
virtual | ~NullLongImmediateUnitState () |
virtual SimValue & | registerValue (int index) |
virtual void | setRegisterValue (int index, const SimValue &value) |
virtual LongImmediateRegisterState & | immediateRegister (int i) |
virtual int | immediateRegisterCount () const |
virtual void | endClock () |
virtual void | advanceClock () |
Public Member Functions inherited from LongImmediateUnitState | |
LongImmediateUnitState (int size, int latency, const std::string &name, int width, bool signExtend) | |
virtual | ~LongImmediateUnitState () |
Public Member Functions inherited from ClockedState | |
ClockedState () | |
virtual | ~ClockedState () |
virtual void | reset () |
this is called at (re)initialization of the simulation More... | |
Static Public Member Functions | |
static NullLongImmediateUnitState & | instance () |
Private Member Functions | |
NullLongImmediateUnitState () | |
NullLongImmediateUnitState (const NullLongImmediateUnitState &) | |
Copying not allowed. More... | |
NullLongImmediateUnitState & | operator= (const NullLongImmediateUnitState &) |
Assignment not allowed. More... | |
Static Private Attributes | |
static NullLongImmediateUnitState * | instance_ = NULL |
Unique instance of NullLongImmediateUnitState. More... | |
Models non-existing LongImmediateUnitState.
Definition at line 128 of file LongImmediateUnitState.hh.
|
virtual |
|
private |
|
private |
Copying not allowed.
|
virtual |
Aborts the program with error message.
Reimplemented from LongImmediateUnitState.
Definition at line 245 of file LongImmediateUnitState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from LongImmediateUnitState.
Definition at line 237 of file LongImmediateUnitState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from LongImmediateUnitState.
Definition at line 255 of file LongImmediateUnitState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from LongImmediateUnitState.
Definition at line 266 of file LongImmediateUnitState.cc.
References abortWithError.
|
static |
Returns NullLongImmediateUnitState instance.
Definition at line 191 of file LongImmediateUnitState.cc.
References instance_, and NullLongImmediateUnitState().
Referenced by MachineState::longImmediateUnitState(), SimProgramBuilder::processInstruction(), and SimProgramBuilder::processSourceTerminal().
|
private |
Assignment not allowed.
|
virtual |
Aborts the program with error message.
OutOfRange | Never throws. |
Reimplemented from LongImmediateUnitState.
Definition at line 218 of file LongImmediateUnitState.cc.
References abortWithError, and NullSimValue::instance().
|
virtual |
Aborts the program with error message.
OutOfRange | Never throws. |
Reimplemented from LongImmediateUnitState.
Definition at line 229 of file LongImmediateUnitState.cc.
References abortWithError.
|
staticprivate |
Unique instance of NullLongImmediateUnitState.
Definition at line 151 of file LongImmediateUnitState.hh.
Referenced by instance().