|
OpenASIP 2.2
|
#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. | |
| NullPortState & | operator= (const NullPortState &) |
| Assignment not allowed. | |
Static Private Attributes | |
| static NullPortState * | instance_ = NULL |
| Unique instance of NullPortState class. | |
Additional Inherited Members | |
Protected Attributes inherited from PortState | |
| FUState * | parent_ |
| Parent of the port. | |
Protected Attributes inherited from RegisterState | |
| SimValue & | value_ |
| Value of the RegisterState. | |
Models non-existing PortState.
Definition at line 76 of file PortState.hh.
|
virtual |
|
private |
Constructor.
Definition at line 106 of file PortState.cc.
Referenced by instance().
|
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 NullFUState::instance().

|
virtual |
Aborts the program with error message.
Reimplemented from RegisterState.
Definition at line 119 of file PortState.cc.
|
virtual |
Aborts the program with error message.
Reimplemented from RegisterState.
Definition at line 129 of file PortState.cc.
References NullSimValue::instance().

|
staticprivate |
Unique instance of NullPortState class.
Definition at line 94 of file PortState.hh.
Referenced by instance().