Go to the documentation of this file.
33 #include <boost/format.hpp>
114 for (
int i = 0; i < fuNav.
count(); i++) {
119 "IDF does not define an implementation for "
120 " function unit %1%.");
122 errorMsg % fu->
name();
131 "IDF defines implementation for unknown "
132 "function unit %1%.");
153 for (
int i = 0; i < rfNav.
count(); i++) {
157 "IDF does not define an implementation for "
158 "register file %1%.");
160 errorMsg % rf->
name();
169 "IDF defines implementation for unknown register file %1%.");
190 for (
int i = 0; i < iuNav.
count(); i++) {
194 "IDF does not define an implementation for "
195 "immediate unit %1%.");
197 errorMsg % iu->
name();
206 "IDF defines implementation for unknown immediate unit %1%.");
void removeFUImplementation(const std::string &unitName)
const IDF::MachineImplementation & idf_
The implementation definition,.
bool hasRFImplementation(const std::string &unitName) const
void removeRFImplementation(const std::string &unitName)
virtual TCEString name() const
TTAMachine::Machine * machine
the architecture definition of the estimated processor
RFImplementationLocation & iuImplementation(const std::string &iu) const
void checkRFImplementations()
IDFValidator(const IDF::MachineImplementation &idf, const TTAMachine::Machine &machine)
bool hasFUImplementation(const std::string &unitName) const
std::string errorMessage(int index) const
bool hasIUImplementation(const std::string &unitName) const
bool hasFUGeneration(const std::string &name) const
RFImplementationLocation & rfImplementation(const std::string &rf) const
void removeIUImplementation(const std::string &unitName)
virtual ImmediateUnitNavigator immediateUnitNavigator() const
const TTAMachine::Machine & machine_
The machine.
bool hasItem(const std::string &name) const
StringVector errorMessages_
Vector of error messages.
virtual FunctionUnitNavigator functionUnitNavigator() const
void checkIUImplementations()
int rfImplementationCount() const
virtual std::string unitName() const
int iuImplementationCount() const
virtual RegisterFileNavigator registerFileNavigator() const
int fuImplementationCount() const
static void removeUnknownImplementations(IDF::MachineImplementation &idf, const TTAMachine::Machine &machine)
void checkFUImplementations()
ComponentType * item(int index) const
FUImplementationLocation & fuImplementation(const std::string &fu) const