OpenASIP
2.0
|
#include <HDLPort.hh>
Public Member Functions | |
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 |
Protected Attributes | |
std::string | name_ |
Direction | dir_ |
std::string | parametricWidth_ |
int | width_ |
WireType | wireType_ |
Entity/module port base class.
Definition at line 38 of file HWGen/HDLPort.hh.
|
inline |
|
inline |
Definition at line 43 of file HWGen/HDLPort.hh.
|
virtualdefault |
|
inline |
Definition at line 50 of file HWGen/HDLPort.hh.
References dir_, HDLGenerator::In, StringTools::indent(), name_, parametricWidth_, HDLGenerator::Vector, HDLGenerator::Verilog, HDLGenerator::VHDL, width_, and wireType_.
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 93 of file HWGen/HDLPort.hh.
Referenced by declare().
|
protected |
Definition at line 92 of file HWGen/HDLPort.hh.
|
protected |
Definition at line 94 of file HWGen/HDLPort.hh.
|
protected |
Definition at line 95 of file HWGen/HDLPort.hh.
|
protected |
Definition at line 96 of file HWGen/HDLPort.hh.
Referenced by declare(), and wireType().