OpenASIP  2.0
Public Member Functions | List of all members
HDLGenerator::OutPort Class Reference

#include <HDLPort.hh>

Inheritance diagram for HDLGenerator::OutPort:
Inheritance graph
Collaboration diagram for HDLGenerator::OutPort:
Collaboration graph

Public Member Functions

 OutPort (std::string name, int width=1, WireType wireType=WireType::Auto)
 
 OutPort (std::string name, std::string parametricWidth, WireType wireType=WireType::Auto)
 
- Public Member Functions inherited from HDLGenerator::Port
 Port (std::string name, Direction dir, int width=1, WireType wireType=WireType::Auto)
 
 Port (std::string name, Direction dir, std::string parametricWidth, WireType wireType=WireType::Auto)
 
virtual ~Port ()=default
 
void declare (std::ostream &stream, Language lang, int level=0)
 
std::string name ()
 
Width width ()
 
WireType wireType () const
 

Additional Inherited Members

- Protected Attributes inherited from HDLGenerator::Port
std::string name_
 
Direction dir_
 
std::string parametricWidth_
 
int width_
 
WireType wireType_
 

Detailed Description

Definition at line 99 of file HWGen/HDLPort.hh.

Constructor & Destructor Documentation

◆ OutPort() [1/2]

HDLGenerator::OutPort::OutPort ( std::string  name,
int  width = 1,
WireType  wireType = WireType::Auto 
)
inline

Definition at line 101 of file HWGen/HDLPort.hh.

References HDLGenerator::Out.

◆ OutPort() [2/2]

HDLGenerator::OutPort::OutPort ( std::string  name,
std::string  parametricWidth,
WireType  wireType = WireType::Auto 
)
inline

Definition at line 104 of file HWGen/HDLPort.hh.

106  : Port(name, Direction::Out, parametricWidth, wireType) {}

References HDLGenerator::Out.


The documentation for this class was generated from the following file:
HDLGenerator::Port::wireType
WireType wireType() const
Definition: HWGen/HDLPort.hh:89
HDLGenerator::Port::width
Width width()
Definition: HWGen/HDLPort.hh:87
HDLGenerator::Port::Port
Port(std::string name, Direction dir, int width=1, WireType wireType=WireType::Auto)
Definition: HWGen/HDLPort.hh:40
HDLGenerator::Direction::Out
@ Out
HDLGenerator::Port::name
std::string name()
Definition: HWGen/HDLPort.hh:85