1
0
mirror of synced 2026-05-04 07:10:19 +00:00

abc9: add time as last script command

This commit is contained in:
Eddie Hung
2020-01-08 10:55:44 -08:00
parent e230fd8afe
commit 050f03f15b

View File

@@ -302,7 +302,7 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *module, std::string scrip
for (size_t pos = abc9_script.find("&mfs"); pos != std::string::npos; pos = abc9_script.find("&mfs", pos))
abc9_script = abc9_script.erase(pos, strlen("&mfs"));
abc9_script += stringf("&ps -l; &write -n %s/output.aig", tempdir_name.c_str());
abc9_script += stringf("&ps -l; &write -n %s/output.aig; time", tempdir_name.c_str());
abc9_script = add_echos_to_abc9_cmd(abc9_script);
for (size_t i = 0; i+1 < abc9_script.size(); i++)