OpenASIP 2.2
|
#include <PortImplementation.hh>
Public Member Functions | |
PortImplementation (const std::string &name, const std::string &loadPort) | |
virtual | ~PortImplementation () |
void | setName (const std::string &name) |
std::string | name () const |
void | setLoadPort (const std::string &name) |
std::string | loadPort () const |
Private Attributes | |
std::string | name_ |
Name of the port. | |
std::string | loadPort_ |
Name of the load enable port. | |
Base class for RFPortImplementation and FUPortImplementation.
Definition at line 44 of file PortImplementation.hh.
HDB::PortImplementation::PortImplementation | ( | const std::string & | name, |
const std::string & | loadPort | ||
) |
The constructor.
name | Name of the port. |
loadPort | Name of the load enable port. |
Definition at line 43 of file PortImplementation.cc.
|
virtual |
std::string HDB::PortImplementation::loadPort | ( | ) | const |
Returns the name of the load enable port.
Definition at line 96 of file PortImplementation.cc.
References loadPort_.
Referenced by ProGe::NetlistGenerator::addBaseRFToNetlist(), HDB::HDBManager::addFUImplementation(), ProGe::NetlistGenerator::addFUToNetlist(), HDB::HDBManager::addRFImplementation(), FUTestbenchGenerator::createStimulusArrays(), FUTestbenchGenerator::createTbInstantiation(), HDBToHtml::fuImplToHtml(), RFTestbenchGenerator::parseRfPorts(), and HDBToHtml::rfImplToHtml().
std::string HDB::PortImplementation::name | ( | ) | const |
Returns the name of the port.
Definition at line 74 of file PortImplementation.cc.
References name_.
Referenced by ProGe::NetlistGenerator::addBaseRFToNetlist(), HDB::HDBManager::addFUImplementation(), ProGe::NetlistGenerator::addFUToNetlist(), HDB::HDBManager::addRFImplementation(), FUTestbenchGenerator::createStimulusArrays(), FUTestbenchGenerator::createTbCode(), FUTestbenchGenerator::createTbInstantiation(), HDBToHtml::fuImplToHtml(), FUImplementationDialog::onOK(), RFTestbenchGenerator::parseRfPorts(), HDBToHtml::rfImplToHtml(), HDB::FUPortImplementation::setArchitecturePort(), HDB::FUPortImplementation::setGuardPort(), setLoadPort(), setName(), HDB::RFPortImplementation::setOpcodePort(), RFImplementationDialog::update(), and FUImplementationDialog::update().
void HDB::PortImplementation::setLoadPort | ( | const std::string & | name | ) |
Sets the name of the load enable port.
name | The new name. |
Definition at line 85 of file PortImplementation.cc.
References loadPort_, and name().
Referenced by FUPortImplementationDialog::onOK(), and RFPortImplementationDialog::onOK().
void HDB::PortImplementation::setName | ( | const std::string & | name | ) |
Sets the name of the port.
name | The new name. |
Definition at line 63 of file PortImplementation.cc.
Referenced by FUPortImplementationDialog::onOK(), and RFPortImplementationDialog::onOK().
|
private |
Name of the load enable port.
Definition at line 60 of file PortImplementation.hh.
Referenced by loadPort(), and setLoadPort().
|
private |
Name of the port.
Definition at line 58 of file PortImplementation.hh.