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
1 changed files with 1 additions and 1 deletions

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++)