Revert "Update doc for equiv_opt"
authorEddie Hung <eddie@fpgeh.com>
Thu, 3 Oct 2019 17:07:03 +0000 (10:07 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 3 Oct 2019 17:07:03 +0000 (10:07 -0700)
This reverts commit a274b7cc86d4f64541d3d2903b4eeed4616ab1d8.

passes/equiv/equiv_opt.cc

index 4ab5b1a3ee65622e55bb0ac45d865e9fede29eb3..9fe3bbd579ffe2997d491dd09d6f60063586c7cd 100644 (file)
@@ -32,8 +32,7 @@ struct EquivOptPass:public ScriptPass
                log("\n");
                log("    equiv_opt [options] [command]\n");
                log("\n");
-               log("This command uses temporal induction to check circuit equivalence before and\n");
-                log("after an optimization pass.\n");
+               log("This command checks circuit equivalence before and after an optimization pass.\n");
                log("\n");
                log("    -run <from_label>:<to_label>\n");
                log("        only run the commands between the labels (see below). an empty\n");
@@ -157,7 +156,7 @@ struct EquivOptPass:public ScriptPass
                if (check_label("prove")) {
                        if (multiclock || help_mode)
                                run("clk2fflogic", "(only with -multiclock)");
-                       if (!multiclock || help_mode)
+                       else
                                run("async2sync", "(only without -multiclock)");
                        run("equiv_make gold gate equiv");
                        if (help_mode)