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

#include <OutputPortState.hh>

Inheritance diagram for OutputPortState:
Inheritance graph
Collaboration diagram for OutputPortState:
Collaboration graph

Public Member Functions

 OutputPortState (FUState &parent, std::size_t width)
 
 OutputPortState (FUState &parent, SimValue &registerToUse)
 
virtual ~OutputPortState ()
 
- 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

 OutputPortState (const OutputPortState &)
 Copying not allowed. More...
 
OutputPortStateoperator= (const OutputPortState &)
 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 an output port state of function unit.

Definition at line 44 of file OutputPortState.hh.

Constructor & Destructor Documentation

◆ OutputPortState() [1/3]

OutputPortState::OutputPortState ( FUState parent,
std::size_t  width 
)

Constructor.

Parameters
parentParent of the port.
widthThe width of the port (needed to mask out exessive bits).

Definition at line 46 of file OutputPortState.cc.

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

◆ OutputPortState() [2/3]

OutputPortState::OutputPortState ( FUState parent,
SimValue registerToUse 
)

Constructor for port which uses a shared register.

Parameters
parentParent of the port.
nameName of the port.
registerToUseThe shared register storage.

Definition at line 59 of file OutputPortState.cc.

61  :
62  PortState(parent, registerToUse) {
63 }

◆ ~OutputPortState()

OutputPortState::~OutputPortState ( )
virtual

Destructor.

Definition at line 69 of file OutputPortState.cc.

69  {
70 }

◆ OutputPortState() [3/3]

OutputPortState::OutputPortState ( const OutputPortState )
private

Copying not allowed.

Member Function Documentation

◆ operator=()

OutputPortState& OutputPortState::operator= ( const OutputPortState )
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