OpenASIP
2.0
|
#include <RegisterState.hh>
Public Member Functions | |
virtual | ~NullRegisterState () |
virtual void | setValue (const SimValue &value) |
virtual const SimValue & | value () const |
Public Member Functions inherited from RegisterState | |
RegisterState (int width, bool constantZero=false) | |
RegisterState (SimValue &sharedRegister) | |
virtual | ~RegisterState () |
Public Member Functions inherited from StateData | |
StateData () | |
virtual | ~StateData () |
Public Member Functions inherited from WritableState | |
WritableState () | |
virtual | ~WritableState () |
Public Member Functions inherited from ReadableState | |
ReadableState () | |
virtual | ~ReadableState () |
Static Public Member Functions | |
static NullRegisterState & | instance () |
Private Member Functions | |
NullRegisterState () | |
NullRegisterState (const NullRegisterState &) | |
Copying not allowed. More... | |
NullRegisterState & | operator= (const NullRegisterState &) |
Assignment not allowed. More... | |
Static Private Attributes | |
static NullRegisterState * | instance_ = NULL |
Unique instance of NullRegisterState. More... | |
Additional Inherited Members | |
Protected Attributes inherited from RegisterState | |
SimValue & | value_ |
Value of the RegisterState. More... | |
Models non-existing RegisterState.
Definition at line 83 of file RegisterState.hh.
|
virtual |
|
private |
|
private |
Copying not allowed.
|
static |
Returns instance of NullRegisterState.
Definition at line 108 of file RegisterState.cc.
References instance_, and NullRegisterState().
Referenced by NullRegisterFileState::registerState().
|
private |
Assignment not allowed.
|
virtual |
Aborts the program with error message.
Reimplemented from RegisterState.
Definition at line 131 of file RegisterState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from RegisterState.
Definition at line 141 of file RegisterState.cc.
References abortWithError, and NullSimValue::instance().
|
staticprivate |
Unique instance of NullRegisterState.
Definition at line 100 of file RegisterState.hh.
Referenced by instance().