abc9: fix scratchpad entry abc9.verify
authorEddie Hung <eddie@fpgeh.com>
Wed, 22 Jan 2020 17:36:54 +0000 (09:36 -0800)
committerEddie Hung <eddie@fpgeh.com>
Wed, 22 Jan 2020 17:36:54 +0000 (09:36 -0800)
passes/techmap/abc9.cc

index 1f6cdaa220d9d5fabc4ed34405e5faf943b6b614..b0e2c76978c55c2abff898c1127f66d6b0d2154d 100644 (file)
@@ -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++)