46 std::vector<std::string> hdlFiles,
58 errors.push_back(
"Couldn't create work dir");
63 errors.push_back(
"Couldn't change directory to " + baseDir);
84 errors.push_back(
"Couldn't change directory to " + baseDir);
90 command =
"./testbench 2>&1";
94 command = string(
"ghdl -r --ieee=synopsys --workdir=") +
workDir()
98 std::cout << command << std::endl;
100 vector<string> messages;
104 return rv == 0 && errors.size() == 0;
109 std::string file, std::vector<std::string>& errors) {
110 string command =
"ghdl -i --ieee=synopsys --workdir="
114 std::cout << command << std::endl;
121 string command =
"ghdl -m --ieee=synopsys --workdir="
122 +
workDir() +
" testbench 2>&1";
125 std::cout << command << std::endl;