diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-12-22 11:15:05 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-12-22 11:15:05 +0100 |
commit | f1b959dc69ce691adb0e5a57236e062a21585e64 (patch) | |
tree | 7741ae130a42379099de7ce7905a589b6ac6c724 /techlibs/common | |
parent | ab0c44d3ed81f71cb0c6ff844679110cc27b38ad (diff) | |
download | yosys-f1b959dc69ce691adb0e5a57236e062a21585e64.tar.gz yosys-f1b959dc69ce691adb0e5a57236e062a21585e64.tar.bz2 yosys-f1b959dc69ce691adb0e5a57236e062a21585e64.zip |
Run opt_const before check in default scripts
Diffstat (limited to 'techlibs/common')
-rw-r--r-- | techlibs/common/prep.cc | 2 | ||||
-rw-r--r-- | techlibs/common/synth.cc | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/techlibs/common/prep.cc b/techlibs/common/prep.cc index ebd329746..8bae920d0 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 9d71feef1..83d00f328 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"); |