|
OpenASIP 2.2
|
#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. | |
| NullRegisterState & | operator= (const NullRegisterState &) |
| Assignment not allowed. | |
Static Private Attributes | |
| static NullRegisterState * | instance_ = NULL |
| Unique instance of NullRegisterState. | |
Additional Inherited Members | |
Protected Attributes inherited from RegisterState | |
| SimValue & | value_ |
| Value of the RegisterState. | |
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.
|
virtual |
Aborts the program with error message.
Reimplemented from RegisterState.
Definition at line 141 of file RegisterState.cc.
References NullSimValue::instance().

|
staticprivate |
Unique instance of NullRegisterState.
Definition at line 100 of file RegisterState.hh.
Referenced by instance().