Go to the documentation of this file.
34 #ifndef TTA_IMPLEMENTATION_TESTER_HH
35 #define TTA_IMPLEMENTATION_TESTER_HH
60 VhdlSim simulator,
bool verbose,
bool leaveDirty);
66 void openHdb(std::string hdbFile);
68 bool canTestFU(
const int entryID, std::string& reason);
70 bool canTestRF(
const int entryID, std::string& reason);
72 bool validateFU(
const int entryID, std::vector<std::string>& errors);
74 bool validateRF(
const int entryID, std::vector<std::string>& errors);
100 void openTbFile(std::ofstream& fileStream, std::string fileName)
const;
105 std::vector<std::string>& files)
const;
112 std::string testbench,
114 std::vector<std::string>& errors)
const;
bool canTestRF(const int entryID, std::string &reason)
void openHdb(std::string hdbFile)
IDF::MachineImplementation * implementation
the implementation definition of the estimated processor
bool fuFullyPipelined(HDB::FUEntry *fuEntry) const
std::string fuTbName(int id) const
void createTestbench(TestbenchGenerator *tbGen, std::string tbName) const
void setVhdlSimulator(VhdlSim simulator)
bool canTestFU(const int entryID, std::string &reason)
virtual ~ImplementationTester()
bool simulateTestbench(std::string testbench, const HDB::HWBlockImplementation *implementation, std::vector< std::string > &errors) const
bool fuHasMemoryAccess(HDB::FUEntry *fuEntry) const
bool fuHasExternalPorts(HDB::FUEntry *fuEntry) const
HDB::FUEntry * fuEntryFromHdb(int entryID) const
std::set< int > rfEntryIDs() const
std::set< int > fuEntryIDs() const
bool fuHasOnePort(HDB::FUEntry *fuEntry) const
void createListOfSimulationFiles(const HDB::HWBlockImplementation *impl, std::vector< std::string > &files) const
std::string rfTbName(int id) const
bool validateFU(const int entryID, std::vector< std::string > &errors)
void openTbFile(std::ofstream &fileStream, std::string fileName) const
bool validateRF(const int entryID, std::vector< std::string > &errors)
HDB::RFEntry * rfEntryFromHdb(int entryID) const