OpenASIP
2.0
|
#include <HDLPort.hh>
Public Member Functions | |
HDLPort (const TCEString name, const TCEString &widthFormula, ProGe::DataType type, ProGe::Direction direction, bool needsInversion) | |
HDLPort (const TCEString name, const TCEString &widthFormula, ProGe::DataType type, ProGe::Direction direction, bool needsInversion, int width) | |
HDLPort (const HDLPort &old) | |
HDLPort (const ProGe::NetlistPort &port) | |
TCEString | name () const |
TCEString | widthFormula () const |
void | updateWidthFormula (const TCEString &widthFormula) |
bool | hasRealWidth () const |
int | realWidth () const |
ProGe::Direction | direction () const |
ProGe::DataType | type () const |
bool | needsInversion () const |
ProGe::NetlistPort * | convertToNetlistPort (ProGe::NetlistBlock &block) const |
void | setToStatic (ProGe::StaticSignal value) |
bool | hasStaticValue () const |
ProGe::StaticSignal | staticValue () const |
Private Attributes | |
TCEString | name_ |
TCEString | widthFormula_ |
ProGe::DataType | type_ |
ProGe::Direction | direction_ |
bool | needsInversion_ |
bool | hasWidth_ |
int | width_ |
bool | hasStaticValue_ |
ProGe::StaticSignal | staticValue_ |
Represents a HDL port which is on higher abstraction level than NetlistPort
Definition at line 48 of file PlatformIntegrator/HDLPort.hh.
HDLPort::HDLPort | ( | const TCEString | name, |
const TCEString & | widthFormula, | ||
ProGe::DataType | type, | ||
ProGe::Direction | direction, | ||
bool | needsInversion | ||
) |
Definition at line 38 of file HDLPort.cc.
HDLPort::HDLPort | ( | const TCEString | name, |
const TCEString & | widthFormula, | ||
ProGe::DataType | type, | ||
ProGe::Direction | direction, | ||
bool | needsInversion, | ||
int | width | ||
) |
Definition at line 51 of file HDLPort.cc.
HDLPort::HDLPort | ( | const HDLPort & | old | ) |
Definition at line 64 of file HDLPort.cc.
HDLPort::HDLPort | ( | const ProGe::NetlistPort & | port | ) |
Definition at line 71 of file HDLPort.cc.
References ProGe::NetlistPort::realWidth(), ProGe::NetlistPort::realWidthAvailable(), and width_.
ProGe::NetlistPort * HDLPort::convertToNetlistPort | ( | ProGe::NetlistBlock & | block | ) | const |
Definition at line 127 of file HDLPort.cc.
References direction_, hasStaticValue_, hasWidth_, name_, ProGe::NetlistPort::setToStatic(), staticValue_, type_, width_, and widthFormula_.
Referenced by Stratix2SramGenerator::addMemory(), and MemoryGenerator::createMemoryNetlistBlock().
ProGe::Direction HDLPort::direction | ( | ) | const |
Definition at line 112 of file HDLPort.cc.
References direction_.
Referenced by IPXactModel::addSignalObject().
bool HDLPort::hasRealWidth | ( | ) | const |
Definition at line 102 of file HDLPort.cc.
References hasWidth_.
Referenced by IPXactModel::addSignalObject().
bool HDLPort::hasStaticValue | ( | ) | const |
Definition at line 153 of file HDLPort.cc.
References hasStaticValue_.
Referenced by MemoryGenerator::createMemoryNetlistBlock().
TCEString HDLPort::name | ( | ) | const |
Definition at line 87 of file HDLPort.cc.
References name_.
Referenced by XilinxBlockRamGenerator::addMemory(), MemoryGenerator::addMemory(), IPXactModel::addSignalObject(), and MemoryGenerator::portKeyName().
bool HDLPort::needsInversion | ( | ) | const |
Definition at line 122 of file HDLPort.cc.
References needsInversion_.
Referenced by Stratix2SramGenerator::addMemory(), XilinxBlockRamGenerator::addMemory(), and MemoryGenerator::addMemory().
int HDLPort::realWidth | ( | ) | const |
Definition at line 107 of file HDLPort.cc.
References width_.
Referenced by IPXactModel::addSignalObject().
void HDLPort::setToStatic | ( | ProGe::StaticSignal | value | ) |
Definition at line 145 of file HDLPort.cc.
References hasStaticValue_, and staticValue_.
Referenced by AlteraOnchipRomGenerator::AlteraOnchipRomGenerator(), and VhdlRomGenerator::VhdlRomGenerator().
ProGe::StaticSignal HDLPort::staticValue | ( | ) | const |
Definition at line 160 of file HDLPort.cc.
References staticValue_.
ProGe::DataType HDLPort::type | ( | ) | const |
Definition at line 117 of file HDLPort.cc.
References type_.
Referenced by IPXactModel::addSignalObject().
void HDLPort::updateWidthFormula | ( | const TCEString & | widthFormula | ) |
Definition at line 97 of file HDLPort.cc.
References widthFormula(), and widthFormula_.
TCEString HDLPort::widthFormula | ( | ) | const |
Definition at line 92 of file HDLPort.cc.
References widthFormula_.
Referenced by updateWidthFormula().
|
private |
Definition at line 99 of file PlatformIntegrator/HDLPort.hh.
Referenced by convertToNetlistPort(), and direction().
|
private |
Definition at line 103 of file PlatformIntegrator/HDLPort.hh.
Referenced by convertToNetlistPort(), hasStaticValue(), and setToStatic().
|
private |
Definition at line 101 of file PlatformIntegrator/HDLPort.hh.
Referenced by convertToNetlistPort(), and hasRealWidth().
|
private |
Definition at line 96 of file PlatformIntegrator/HDLPort.hh.
Referenced by convertToNetlistPort(), and name().
|
private |
Definition at line 100 of file PlatformIntegrator/HDLPort.hh.
Referenced by needsInversion().
|
private |
Definition at line 104 of file PlatformIntegrator/HDLPort.hh.
Referenced by convertToNetlistPort(), setToStatic(), and staticValue().
|
private |
Definition at line 98 of file PlatformIntegrator/HDLPort.hh.
Referenced by convertToNetlistPort(), and type().
|
private |
Definition at line 102 of file PlatformIntegrator/HDLPort.hh.
Referenced by convertToNetlistPort(), HDLPort(), and realWidth().
|
private |
Definition at line 97 of file PlatformIntegrator/HDLPort.hh.
Referenced by convertToNetlistPort(), updateWidthFormula(), and widthFormula().