Go to the documentation of this file.
82 icDec_(
"DefaultICDecoder"),
83 icDecHDB_(
"asic_130nm_1.5V.hdb"),
90 addParameter(icDecPN_,
STRING,
false, icDec_);
91 addParameter(icDecHDBPN_,
STRING,
false, icDecHDB_);
92 addParameter(adfPN_,
STRING,
false, adf_);
103 virtual std::vector<RowID>
107 std::vector<RowID> result;
110 if (configurationID == 0 && adf_ ==
"") {
111 std::ostringstream msg(std::ostringstream::out);
112 msg <<
"No configuration nor adf defined. Use -s <confID> to "
113 <<
"define the configuration to be optimized or give adf "
114 <<
"as plugin parameter." << endl;
133 std::ostringstream msg(std::ostringstream::out);
134 msg <<
"Error loading the adf." << std::endl;
142 idf = selector_.selectComponents(mach, icDec_, icDecHDB_);
144 std::ostringstream msg(std::ostringstream::out);
147 <<
" " << e.
lineNum() << std::endl;
157 std::ostringstream msg(std::ostringstream::out);
158 msg <<
"Error while adding ADF to the dsdb. "
159 <<
"ADF probably too big." << endl;
167 result.push_back(confID);
194 readOptionalParameter(icDecPN_, icDec_);
195 readOptionalParameter(icDecHDBPN_, icDecHDB_);
196 readOptionalParameter(adfPN_, adf_);
204 HDBRegistry& hdbRegistry = HDBRegistry::instance();
212 for (
int i = 0; i < hdbRegistry.
hdbCount(); i++) {
std::string icDec_
name of the ic decoder plugin for idf
virtual bool producesArchitecture() const
void addHDB(const HDB::HDBManager &hdb)
virtual std::vector< RowID > explore(const RowID &configurationID, const unsigned int &)
TTAMachine::Machine * architecture(RowID id) const
virtual bool requiresStartingPointArchitecture() const
int RowID
Type definition of row ID in relational databases.
virtual bool requiresHDB() const
CachedHDBManager & hdb(const std::string fileName)
std::string fileName() const
static const std::string adfPN_
const std::string PLUGIN_DESCRIPTION
virtual bool requiresApplication() const
#define EXPORT_DESIGN_SPACE_EXPLORER_PLUGIN(PLUGIN_NAME__)
static const std::string icDecPN_
virtual bool requiresSimulationData() const
std::string errorMessage() const
RowID addConfiguration(const MachineConfiguration &conf)
static const std::string icDecHDBPN_
RowID addArchitecture(const TTAMachine::Machine &mom)
MachineConfiguration configuration(RowID id) const
std::string adf_
name of the adf file if wanted to use idf generation
void loadFromSearchPaths()
ComponentImplementationSelector selector_
Selector used by the plugin.
RowID addImplementation(const IDF::MachineImplementation &impl, double longestPathDelay, CostEstimator::AreaInGates area)
std::string icDecHDB_
name of the hdb used by ic decoder
static Machine * loadFromADF(const std::string &adfFileName)