Go to the documentation of this file.
44 std::vector<std::string> hdlFiles,
48 hdlFiles_(hdlFiles), baseDir_(
""), workDir_(
""), oldCwd_(
""),
49 verbose_(verbose), leaveDirty_(leaveDirty) {
105 std::vector<std::string>& inputMsg, std::vector<std::string>& errors) {
106 string tag =
"TCE Assert";
107 for (
unsigned int i = 0; i < inputMsg.size(); i++) {
108 string::size_type loc = inputMsg.at(i).find(tag, 0);
109 if (loc != string::npos) {
112 errors.push_back(errorMsg);
std::vector< std::string > hdlFiles_
Vector containing other vhdl files needed to compile testbench.
static bool removeFileOrDirectory(const std::string &path)
std::string tbDirectory() const
static bool createDirectory(const std::string &path)
void parseErrorMessages(std::vector< std::string > &inputMsg, std::vector< std::string > &errors)
std::string file(int index) const
virtual std::string createWorkDir()
std::string workDir_
Working directory where testbench is compiled and simulated.
static std::string fileOfPath(const std::string pathName)
std::string tbFile() const
std::string baseDir_
Directory path of testbench file.
static std::string directoryOfPath(const std::string fileName)
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.
static const std::string DIRECTORY_SEPARATOR
static bool changeWorkingDir(const std::string &path)
void setWorkDir(std::string dir)
static bool fileExists(const std::string fileName)
static std::string currentWorkingDir()
virtual ~ImplementationSimulator()
ImplementationSimulator()