Go to the documentation of this file.
62 const std::string& moduleName,
63 const std::string& clkPort,
64 const std::string& rstPort,
65 const std::string& glockPort,
66 const std::string& sizeParam,
67 const std::string& widthParam,
68 const std::string& guardPort,
71 sizeParam_(sizeParam), widthParam_(widthParam), guardPort_(guardPort),
72 sepAddrCycleParam_(sacParam) {
90 for (
int i = 0; i < original.
portCount(); i++) {
283 const string procName =
"RFImplementation::port";
284 throw OutOfRange(__FILE__, __LINE__, procName);
301 const string procName =
"RFImplementation::externalPort";
302 throw OutOfRange(__FILE__, __LINE__, procName);
319 const std::string& name,
const std::string& type,
320 const std::string& value) {
336 for (ParameterTable::iterator iter =
parameters_.begin();
338 if (iter->name == name) {
382 for (ParameterTable::const_iterator iter =
parameters_.begin();
384 if (iter->name == name) {
void setWidthParameter(const std::string &widthParam)
void removeParameter(const std::string &name)
void deleteExternalPort(RFExternalPort *port)
void setSeparateAddressCycleParameter(bool enable)
int parameterCount() const
std::string widthParameter() const
std::string sizeParam_
Name of the size parameter.
ParameterTable parameters_
Contains the parameters.
ExternalPortTable externalPorts_
Contains the external ports.
bool hasParameter(const std::string &name) const
RFExternalPort & externalPort(int index) const
std::string sizeParameter() const
void setGuardPort(const std::string &guardPort)
std::string widthParam_
Name of the width parameter.
virtual ~RFImplementation()
void addExternalPort(RFExternalPort *extPort)
void setSizeParameter(const std::string &sizeParam)
RFPortImplementation & port(int index) const
PortTable ports_
Contains the ports.
std::string guardPort_
Name of the guard port.
std::string guardPort() const
bool sepAddrCycleParam_
State of separate address cycle parameter.
void deletePort(RFPortImplementation *port)
Parameter parameter(int index) const
RFImplementation(const std::string &moduleName, const std::string &clkPort, const std::string &rstPort, const std::string &glockPort, const std::string &sizeParam, const std::string &widthParam, const std::string &guardPort, bool sacParam=false)
int externalPortCount() const
void addParameter(const std::string &name, const std::string &type, const std::string &value)
bool separateAddressCycleParameter() const
void addPort(RFPortImplementation *port)