82 icDec_(
"DefaultICDecoder"),
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;
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);
212 for (
int i = 0; i < hdbRegistry.
hdbCount(); i++) {
int RowID
Type definition of row ID in relational databases.
#define EXPORT_DESIGN_SPACE_EXPLORER_PLUGIN(PLUGIN_NAME__)
void addHDB(const HDB::HDBManager &hdb)
IDF::MachineImplementation * selectComponents(const TTAMachine::Machine *mach, const std::string &icDecoder="ic_hdb", const std::string &icDecoderHDB="asic_130nm_1.5V.hdb", const double &frequency=0, const double &maxArea=0)
RowID addArchitecture(const TTAMachine::Machine &mom)
TTAMachine::Machine * architecture(RowID id) const
MachineConfiguration configuration(RowID id) const
RowID addImplementation(const IDF::MachineImplementation &impl, double longestPathDelay, CostEstimator::AreaInGates area)
RowID addConfiguration(const MachineConfiguration &conf)
void readOptionalParameter(const std::string paramName, T ¶m) const
void addParameter(TCEString name, ExplorerPluginParameterType type, bool compulsory=true, TCEString defaultValue="", TCEString description="")
virtual DSDBManager & db()
std::string fileName() const
std::string errorMessage() const
static HDBRegistry & instance()
CachedHDBManager & hdb(const std::string fileName)
void loadFromSearchPaths()
static const std::string icDecPN_
static const std::string adfPN_
std::string icDec_
name of the ic decoder plugin for idf
virtual bool requiresApplication() const
ComponentImplementationSelector selector_
Selector used by the plugin.
std::string adf_
name of the adf file if wanted to use idf generation
virtual bool producesArchitecture() const
virtual bool requiresHDB() const
static const std::string icDecHDBPN_
virtual bool requiresSimulationData() const
virtual bool requiresStartingPointArchitecture() const
std::string icDecHDB_
name of the hdb used by ic decoder
virtual std::vector< RowID > explore(const RowID &configurationID, const unsigned int &)
PLUGIN_DESCRIPTION("Creates implementation for the given machine.")
static Machine * loadFromADF(const std::string &adfFileName)