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

|
staticprivate |
Unique instance of NullBusState.
Definition at line 102 of file BusState.hh.
Referenced by instance().