summaryrefslogtreecommitdiff
path: root/techlibs
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-12-22 11:15:05 +0100
committerClifford Wolf <clifford@clifford.at>2015-12-22 11:15:05 +0100
commitf1b959dc69ce691adb0e5a57236e062a21585e64 (patch)
tree7741ae130a42379099de7ce7905a589b6ac6c724 /techlibs
parentab0c44d3ed81f71cb0c6ff844679110cc27b38ad (diff)
Run opt_const before check in default scripts
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/common/prep.cc2
-rw-r--r--techlibs/common/synth.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/techlibs/common/prep.cc b/techlibs/common/prep.cc
index ebd32974..8bae920d 100644
--- a/techlibs/common/prep.cc
+++ b/techlibs/common/prep.cc
@@ -69,6 +69,7 @@ struct PrepPass : public Pass {
log("\n");
log(" prep:\n");
log(" proc\n");
+ log(" opt_const\n");
log(" opt_clean\n");
log(" check\n");
log(" opt -keepdc\n");
@@ -133,6 +134,7 @@ struct PrepPass : public Pass {
if (check_label(active, run_from, run_to, "coarse"))
{
Pass::call(design, "proc");
+ Pass::call(design, "opt_const");
Pass::call(design, "opt_clean");
Pass::call(design, "check");
Pass::call(design, "opt -keepdc");
diff --git a/techlibs/common/synth.cc b/techlibs/common/synth.cc
index 9d71feef..83d00f32 100644
--- a/techlibs/common/synth.cc
+++ b/techlibs/common/synth.cc
@@ -81,6 +81,7 @@ struct SynthPass : public Pass {
log("\n");
log(" coarse:\n");
log(" proc\n");
+ log(" opt_const\n");
log(" opt_clean\n");
log(" check\n");
log(" opt\n");
@@ -179,6 +180,7 @@ struct SynthPass : public Pass {
if (check_label(active, run_from, run_to, "coarse"))
{
Pass::call(design, "proc");
+ Pass::call(design, "opt_const");
Pass::call(design, "opt_clean");
Pass::call(design, "check");
Pass::call(design, "opt");