3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-08-05 10:50:25 +00:00

Added "trace" command

This commit is contained in:
Clifford Wolf 2014-07-31 15:02:16 +02:00
parent cd9407404a
commit b5a9e51b96
4 changed files with 103 additions and 2 deletions

View file

@ -73,11 +73,11 @@ struct TeePass : public Pass {
try {
std::vector<std::string> new_args(args.begin() + argidx, args.end());
Pass::call(design, new_args);
} catch (int ex) {
} catch (log_cmd_error_expection) {
for (auto cf : files_to_close)
fclose(cf);
log_files = backup_log_files;
throw ex;
throw log_cmd_error_expection();
}
for (auto cf : files_to_close)