Go to the documentation of this file.
33 #ifndef TTA_IMPLEMENTATION_SIMULATOR_HH
34 #define TTA_IMPLEMENTATION_SIMULATOR_HH
43 std::vector<std::string> hdlFiles,
49 virtual bool compile(std::vector<std::string>& errors) = 0;
51 virtual bool simulate(std::vector<std::string>& errors) = 0;
62 std::string
tbFile()
const;
66 std::string
file(
int index)
const;
72 std::vector<std::string>& inputMsg, std::vector<std::string>& errors);
std::vector< std::string > hdlFiles_
Vector containing other vhdl files needed to compile testbench.
std::string tbDirectory() const
void parseErrorMessages(std::vector< std::string > &inputMsg, std::vector< std::string > &errors)
std::string file(int index) const
virtual std::string createWorkDir()
virtual bool simulate(std::vector< std::string > &errors)=0
std::string workDir_
Working directory where testbench is compiled and simulated.
std::string tbFile() const
std::string baseDir_
Directory path of testbench file.
std::string workDir() const
bool leaveDirty_
Don't delete work dir.
std::string oldCwd_
Old current working directory (before changing to workDir_)
std::string tbFile_
Testbench file name with path.
bool verbose_
Enable verbose output.
void setWorkDir(std::string dir)
virtual bool compile(std::vector< std::string > &errors)=0
virtual ~ImplementationSimulator()
ImplementationSimulator()