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);
void setWorkDir(std::string dir)
std::string baseDir_
Directory path of testbench file.
std::string workDir() const
std::string oldCwd_
Old current working directory (before changing to workDir_)
std::string tbFile() const
virtual bool compile(std::vector< std::string > &errors)=0
virtual std::string createWorkDir()
bool leaveDirty_
Don't delete work dir.
virtual bool simulate(std::vector< std::string > &errors)=0
std::vector< std::string > hdlFiles_
Vector containing other vhdl files needed to compile testbench.
ImplementationSimulator()
std::string tbFile_
Testbench file name with path.
std::string workDir_
Working directory where testbench is compiled and simulated.
virtual ~ImplementationSimulator()
std::string tbDirectory() const
std::string file(int index) const
bool verbose_
Enable verbose output.
void parseErrorMessages(std::vector< std::string > &inputMsg, std::vector< std::string > &errors)