Update doc for equiv_opt
authorEddie Hung <eddie@fpgeh.com>
Mon, 30 Sep 2019 17:59:56 +0000 (10:59 -0700)
committerEddie Hung <eddie@fpgeh.com>
Mon, 30 Sep 2019 17:59:56 +0000 (10:59 -0700)
passes/equiv/equiv_opt.cc

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