80 addParameter(RFNamePN_,
STRING,
false, RFName_);
85 addParameter(adfPN_,
STRING,
false, adf_);
99 virtual std::vector<RowID>
102 std::vector<RowID> result;
105 if (configurationID == 0 && adf_ ==
"") {
106 std::ostringstream msg(std::ostringstream::out);
107 msg <<
"No configuration nor adf defined. Use -s <confID> to "
108 <<
"define the configuration to be optimized or give adf "
109 <<
"as plugin parameter." << endl;
128 std::ostringstream msg(std::ostringstream::out);
129 msg <<
"Error loading the adf." << std::endl;
141 selector_.selectComponentsToConf(conf, dsdb, mach);
143 std::ostringstream msg(std::ostringstream::out);
146 <<
" " << e.
lineNum() << std::endl;
158 result.push_back(confID);
189 readOptionalParameter(RFNamePN_, RFName_);
190 readOptionalParameter(RFCountPN_, RFCount_);
191 readOptionalParameter(RFSizePN_, RFSize_);
192 readOptionalParameter(RFReadPortsPN_, RFReadPorts_);
193 readOptionalParameter(RFWritePortsPN_, RFWritePorts_);
194 readOptionalParameter(adfPN_, adf_);
195 readOptionalParameter(buildIdfPN_, buildIdf_);
206 addRegisterFiles(mach);
218 for (
int i = 0; i < RFCount_; i++) {
228 RFName, RFSize_, 32, RFReadPorts_, RFWritePorts_, 0,
230 for (
int n = 0; n < RFReadPorts_; n++) {
234 for (
int n = 0; n < RFWritePorts_; n++) {
241 verboseLog(
"ComponentAdder: Tried to add RF with a already"
242 "existing name (" + RFName)