mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 10:50:25 +00:00
Added "trace" command
This commit is contained in:
parent
cd9407404a
commit
b5a9e51b96
4 changed files with 103 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue