OpenASIP
2.0
|
#include <TriggeringInputPortState.hh>
Public Member Functions | |
TriggeringInputPortState (FUState &parent, int width) | |
TriggeringInputPortState (FUState &parent, SimValue &sharedRegister) | |
virtual | ~TriggeringInputPortState () |
virtual void | setValue (const SimValue &value) |
Public Member Functions inherited from InputPortState | |
InputPortState (FUState &parent, int width) | |
InputPortState (FUState &parent, SimValue ®isterToUse) | |
virtual | ~InputPortState () |
Public Member Functions inherited from PortState | |
PortState (FUState &parent, int width) | |
PortState (FUState &parent, SimValue &sharedRegister) | |
virtual | ~PortState () |
virtual FUState & | parent () const |
Public Member Functions inherited from RegisterState | |
RegisterState (int width, bool constantZero=false) | |
RegisterState (SimValue &sharedRegister) | |
virtual | ~RegisterState () |
virtual const SimValue & | value () const |
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 () |
Private Member Functions | |
TriggeringInputPortState (const TriggeringInputPortState &) | |
Copying not allowed. More... | |
TriggeringInputPortState & | operator= (const TriggeringInputPortState &) |
Assignment not allowed. 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 input port state that triggers operation.
Definition at line 46 of file TriggeringInputPortState.hh.
TriggeringInputPortState::TriggeringInputPortState | ( | FUState & | parent, |
int | width | ||
) |
Constructor.
parent | Parent of the port. |
width | Width of the port. |
Definition at line 46 of file TriggeringInputPortState.cc.
Constructor for port which uses a shared register.
parent | Parent of the port. |
name | Name of the port. |
registerToUse | The shared register storage. |
Definition at line 59 of file TriggeringInputPortState.cc.
|
virtual |
|
private |
Copying not allowed.
|
private |
Assignment not allowed.
|
virtual |
Sets the value of the port and triggers an operation.
value | Value to be set. |
Reimplemented from RegisterState.
Definition at line 77 of file TriggeringInputPortState.cc.
References PortState::parent_, FUState::setTriggered(), RegisterState::setValue(), and RegisterState::value().