diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-01-22 09:36:54 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-01-22 09:36:54 -0800 |
commit | 3b44b53e946780ac25581f236be7c836fa6927bf (patch) | |
tree | b5073bb6c4b372a2b11eb2d55ddc9f093a32e2ab | |
parent | 5791c52e1b0c0e52299ee1c293a41d712d782422 (diff) | |
download | yosys-3b44b53e946780ac25581f236be7c836fa6927bf.tar.gz yosys-3b44b53e946780ac25581f236be7c836fa6927bf.tar.bz2 yosys-3b44b53e946780ac25581f236be7c836fa6927bf.zip |
abc9: fix scratchpad entry abc9.verify
-rw-r--r-- | passes/techmap/abc9.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index 1f6cdaa22..b0e2c7697 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -304,14 +304,14 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *module, std::string scrip for (size_t pos = abc9_script.find("{R}"); pos != std::string::npos; pos = abc9_script.find("{R}", pos)) abc9_script = abc9_script.substr(0, pos) + R + abc9_script.substr(pos+3); - abc9_script += stringf("; &ps -l; &write -n %s/output.aig;", tempdir_name.c_str()); + abc9_script += stringf("; &ps -l; &write -n %s/output.aig", tempdir_name.c_str()); if (design->scratchpad_get_bool("abc9.verify")) { if (dff_mode) - abc9_script += "verify -s;"; + abc9_script += "; &verify -s"; else - abc9_script += "verify;"; + abc9_script += "; &verify"; } - abc9_script += "time"; + abc9_script += "; time"; abc9_script = add_echos_to_abc9_cmd(abc9_script); for (size_t i = 0; i+1 < abc9_script.size(); i++) |