OpenASIP
2.0
|
#include <BusState.hh>
Public Member Functions | |
virtual | ~NullBusState () |
virtual void | setValue (const SimValue &value) |
virtual const SimValue & | value () const |
Public Member Functions inherited from BusState | |
BusState (int width) | |
virtual | ~BusState () |
void | setValueInlined (const SimValue &value) |
void | clear () |
void | setSquashed (bool isSquashed) |
bool | isSquashed () const |
int | width () 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 NullBusState & | instance () |
Private Member Functions | |
NullBusState () | |
NullBusState (const NullBusState &) | |
Copying not allowed. More... | |
NullBusState & | operator= (const NullBusState &) |
Assignment not allowed. More... | |
Static Private Attributes | |
static NullBusState * | instance_ = NULL |
Unique instance of NullBusState. More... | |
Additional Inherited Members | |
Protected Attributes inherited from RegisterState | |
SimValue & | value_ |
Value of the RegisterState. More... | |
Models null BusState object.
Definition at line 85 of file BusState.hh.
|
virtual |
|
private |
|
private |
Copying not allowed.
|
static |
Returns the instance of NullBusState.
Definition at line 112 of file BusState.cc.
References instance_, and NullBusState().
Referenced by MachineState::busState(), and SimProgramBuilder::processMove().
|
private |
Assignment not allowed.
|
virtual |
Aborts the program with error message.
Reimplemented from BusState.
Definition at line 135 of file BusState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from RegisterState.
Definition at line 145 of file BusState.cc.
References abortWithError, and NullSimValue::instance().
|
staticprivate |
Unique instance of NullBusState.
Definition at line 102 of file BusState.hh.
Referenced by instance().