OpenASIP  2.0
Public Member Functions | Private Member Functions | List of all members
InputPortState Class Reference

#include <InputPortState.hh>

Inheritance diagram for InputPortState:
Inheritance graph
Collaboration diagram for InputPortState:
Collaboration graph

Public Member Functions

 InputPortState (FUState &parent, int width)
 
 InputPortState (FUState &parent, SimValue &registerToUse)
 
virtual ~InputPortState ()
 
- Public Member Functions inherited from PortState
 PortState (FUState &parent, int width)
 
 PortState (FUState &parent, SimValue &sharedRegister)
 
virtual ~PortState ()
 
virtual FUStateparent () const
 
- Public Member Functions inherited from RegisterState
 RegisterState (int width, bool constantZero=false)
 
 RegisterState (SimValue &sharedRegister)
 
virtual ~RegisterState ()
 
virtual void setValue (const SimValue &value)
 
virtual const SimValuevalue () 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

 InputPortState (const InputPortState &)
 Copying not allowed. More...
 
InputPortStateoperator= (const InputPortState &)
 Assignment not allowed. More...
 

Additional Inherited Members

- Protected Attributes inherited from PortState
FUStateparent_
 Parent of the port. More...
 
- Protected Attributes inherited from RegisterState
SimValuevalue_
 Value of the RegisterState. More...
 

Detailed Description

Models input port state of the function unit.

Definition at line 46 of file InputPortState.hh.

Constructor & Destructor Documentation

◆ InputPortState() [1/3]

InputPortState::InputPortState ( FUState parent,
int  width 
)

Constructor.

Parameters
parentParent of the port.
widthThe bit width of the port.

Definition at line 46 of file InputPortState.cc.

47  :
48  PortState(parent, width) {
49 }

◆ InputPortState() [2/3]

InputPortState::InputPortState ( FUState parent,
SimValue registerToUse 
)

Constructor for port which uses a shared register.

Parameters
parentParent of the port.
registerToUseThe shared register storage.

Definition at line 57 of file InputPortState.cc.

59  :
60  PortState(parent, registerToUse) {
61 }

◆ ~InputPortState()

InputPortState::~InputPortState ( )
virtual

Destructor.

Definition at line 66 of file InputPortState.cc.

66  {
67 }

◆ InputPortState() [3/3]

InputPortState::InputPortState ( const InputPortState )
private

Copying not allowed.

Member Function Documentation

◆ operator=()

InputPortState& InputPortState::operator= ( const InputPortState )
private

Assignment not allowed.


The documentation for this class was generated from the following files:
PortState::parent
virtual FUState & parent() const
Definition: PortState.cc:80
PortState::PortState
PortState(FUState &parent, int width)
Definition: PortState.cc:51