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;
IDF::MachineImplementation * implementation
the implementation definition of the estimated processor
HDB::FUEntry * fuEntryFromHdb(int entryID) const
void createListOfSimulationFiles(const HDB::HWBlockImplementation *impl, std::vector< std::string > &files) const
bool fuHasMemoryAccess(HDB::FUEntry *fuEntry) const
void createTestbench(TestbenchGenerator *tbGen, std::string tbName) const
std::set< int > fuEntryIDs() const
bool canTestRF(const int entryID, std::string &reason)
std::string fuTbName(int id) const
bool fuHasExternalPorts(HDB::FUEntry *fuEntry) const
bool canTestFU(const int entryID, std::string &reason)
bool simulateTestbench(std::string testbench, const HDB::HWBlockImplementation *implementation, std::vector< std::string > &errors) const
bool validateRF(const int entryID, std::vector< std::string > &errors)
virtual ~ImplementationTester()
bool fuHasOnePort(HDB::FUEntry *fuEntry) const
void openTbFile(std::ofstream &fileStream, std::string fileName) const
void openHdb(std::string hdbFile)
void setVhdlSimulator(VhdlSim simulator)
std::string rfTbName(int id) const
HDB::RFEntry * rfEntryFromHdb(int entryID) const
std::set< int > rfEntryIDs() const
bool fuFullyPipelined(HDB::FUEntry *fuEntry) const
bool validateFU(const int entryID, std::vector< std::string > &errors)