OpenASIP  2.0
Public Member Functions | List of all members
HDB::FUExternalPort Class Reference

#include <FUExternalPort.hh>

Inheritance diagram for HDB::FUExternalPort:
Inheritance graph
Collaboration diagram for HDB::FUExternalPort:
Collaboration graph

Public Member Functions

 FUExternalPort (const std::string &name, Direction direction, const std::string &widthFormula, const std::string &description, FUImplementation &parent)
 
virtual ~FUExternalPort ()
 
- Public Member Functions inherited from HDB::ExternalPort
 ExternalPort (const std::string &name, Direction direction, const std::string &widthFormula, const std::string &description)
 
virtual ~ExternalPort ()
 
void setName (const std::string &name)
 
std::string name () const
 
void setDirection (Direction direction)
 
Direction direction () const
 
void setWidthFormula (const std::string &widthFormula)
 
std::string widthFormula () const
 
void setDescription (const std::string &description)
 
std::string description () const
 
bool setParameterDependency (const std::string &parameter)
 
bool unsetParameterDependency (const std::string &parameter)
 
int parameterDependencyCount () const
 
std::string parameterDependency (int index) const
 

Detailed Description

Represents a non-architectural port of an FU implementation in HDB.

Definition at line 52 of file FUExternalPort.hh.

Constructor & Destructor Documentation

◆ FUExternalPort()

HDB::FUExternalPort::FUExternalPort ( const std::string &  name,
Direction  direction,
const std::string &  widthFormula,
const std::string &  description,
FUImplementation parent 
)

The constructor.

Registers the port automatically to the given FUImplementation instance.

Parameters
nameName of the port.
directionDirection of the port.
widthFormulaThe formula for the width of the port.
descriptionDescription of the port.
parentThe parent FUImplementation instance.

Definition at line 50 of file FUExternalPort.cc.

55  :
57 
58  parent.addExternalPort(this);
59 }

References HDB::FUImplementation::addExternalPort().

Here is the call graph for this function:

◆ ~FUExternalPort()

HDB::FUExternalPort::~FUExternalPort ( )
virtual

The destructor.

Definition at line 65 of file FUExternalPort.cc.

65  {
66 }

The documentation for this class was generated from the following files:
HDB::ExternalPort::ExternalPort
ExternalPort(const std::string &name, Direction direction, const std::string &widthFormula, const std::string &description)
Definition: ExternalPort.cc:49
HDB::ExternalPort::description
std::string description() const
Definition: ExternalPort.cc:150
HDB::ExternalPort::name
std::string name() const
Definition: ExternalPort.cc:84
HDB::ExternalPort::direction
Direction direction() const
Definition: ExternalPort.cc:106
HDB::ExternalPort::widthFormula
std::string widthFormula() const
Definition: ExternalPort.cc:128