From: Eddie Hung Date: Wed, 8 Jan 2020 18:55:44 +0000 (-0800) Subject: abc9: add time as last script command X-Git-Tag: working-ls180~870^2~19 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=050f03f15b01855d9c3bd6e98c4c47ebab607d57;p=yosys.git abc9: add time as last script command --- diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index d03c24fdb..652ccafaf 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -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++)