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/prep.cc | |
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/prep.cc')
-rw-r--r-- | techlibs/common/prep.cc | 2 |
1 files changed, 2 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"); |