Run opt_const before check in default scripts

This commit is contained in:
Clifford Wolf 2015-12-22 11:15:05 +01:00
parent ab0c44d3ed
commit f1b959dc69
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,7 @@ struct PrepPass : public Pass {
log("\n"); log("\n");
log(" prep:\n"); log(" prep:\n");
log(" proc\n"); log(" proc\n");
log(" opt_const\n");
log(" opt_clean\n"); log(" opt_clean\n");
log(" check\n"); log(" check\n");
log(" opt -keepdc\n"); log(" opt -keepdc\n");
@ -133,6 +134,7 @@ struct PrepPass : public Pass {
if (check_label(active, run_from, run_to, "coarse")) if (check_label(active, run_from, run_to, "coarse"))
{ {
Pass::call(design, "proc"); Pass::call(design, "proc");
Pass::call(design, "opt_const");
Pass::call(design, "opt_clean"); Pass::call(design, "opt_clean");
Pass::call(design, "check"); Pass::call(design, "check");
Pass::call(design, "opt -keepdc"); Pass::call(design, "opt -keepdc");

View File

@ -81,6 +81,7 @@ struct SynthPass : public Pass {
log("\n"); log("\n");
log(" coarse:\n"); log(" coarse:\n");
log(" proc\n"); log(" proc\n");
log(" opt_const\n");
log(" opt_clean\n"); log(" opt_clean\n");
log(" check\n"); log(" check\n");
log(" opt\n"); log(" opt\n");
@ -179,6 +180,7 @@ struct SynthPass : public Pass {
if (check_label(active, run_from, run_to, "coarse")) if (check_label(active, run_from, run_to, "coarse"))
{ {
Pass::call(design, "proc"); Pass::call(design, "proc");
Pass::call(design, "opt_const");
Pass::call(design, "opt_clean"); Pass::call(design, "opt_clean");
Pass::call(design, "check"); Pass::call(design, "check");
Pass::call(design, "opt"); Pass::call(design, "opt");