OpenASIP
2.0
|
#include <PortState.hh>
Public Member Functions | |
virtual | ~NullPortState () |
virtual void | setValue (const SimValue &value) |
virtual const SimValue & | value () const |
virtual FUState & | parent () const |
Public Member Functions inherited from PortState | |
PortState (FUState &parent, int width) | |
PortState (FUState &parent, SimValue &sharedRegister) | |
virtual | ~PortState () |
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 NullPortState & | instance () |
Private Member Functions | |
NullPortState () | |
NullPortState (const NullPortState &) | |
Copying not allowed. More... | |
NullPortState & | operator= (const NullPortState &) |
Assignment not allowed. More... | |
Static Private Attributes | |
static NullPortState * | instance_ = NULL |
Unique instance of NullPortState class. More... | |
Additional Inherited Members | |
Protected Attributes inherited from PortState | |
FUState * | parent_ |
Parent of the port. More... | |
Protected Attributes inherited from RegisterState | |
SimValue & | value_ |
Value of the RegisterState. More... | |
Models non-existing PortState.
Definition at line 76 of file PortState.hh.
|
virtual |
|
private |
|
private |
Copying not allowed.
|
static |
Returns the instance of NullPortState.
Definition at line 96 of file PortState.cc.
References instance_, and NullPortState().
Referenced by MachineStateBuilder::addVirtualOpcodeSettingPortsToFU(), MachineStateBuilder::buildMachineState(), SimulatorFrontend::findPort(), FUTestbenchGenerator::parseFuPorts(), MachineState::portState(), and SimProgramBuilder::processBidirTerminal().
|
private |
Assignment not allowed.
|
virtual |
Aborts the program with error message.
Reimplemented from PortState.
Definition at line 140 of file PortState.cc.
References abortWithError, and NullFUState::instance().
|
virtual |
Aborts the program with error message.
Reimplemented from RegisterState.
Definition at line 119 of file PortState.cc.
References abortWithError.
|
virtual |
Aborts the program with error message.
Reimplemented from RegisterState.
Definition at line 129 of file PortState.cc.
References abortWithError, and NullSimValue::instance().
|
staticprivate |
Unique instance of NullPortState class.
Definition at line 94 of file PortState.hh.
Referenced by instance().