aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common/prep.cc
diff options
context:
space:
mode:
authorAndrew Zonenberg <azonenberg@drawersteak.com>2016-04-01 00:03:00 -0700
committerAndrew Zonenberg <azonenberg@drawersteak.com>2016-04-01 00:03:00 -0700
commitf277267916b7b1c97fe90576abecde003cc231ab (patch)
tree3e76c4069a6f8fa37e0f53f927738ed2a8665589 /techlibs/common/prep.cc
parent736a998a75e12ca83b45b74a79e78fae8ab12d16 (diff)
parent25533190818b0fe207be9a4626a9a273a08ae219 (diff)
downloadyosys-f277267916b7b1c97fe90576abecde003cc231ab.tar.gz
yosys-f277267916b7b1c97fe90576abecde003cc231ab.tar.bz2
yosys-f277267916b7b1c97fe90576abecde003cc231ab.zip
Merge https://github.com/cliffordwolf/yosys
Diffstat (limited to 'techlibs/common/prep.cc')
-rw-r--r--techlibs/common/prep.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/common/prep.cc b/techlibs/common/prep.cc
index 8bae920d0..911737947 100644
--- a/techlibs/common/prep.cc
+++ b/techlibs/common/prep.cc
@@ -69,7 +69,7 @@ struct PrepPass : public Pass {
log("\n");
log(" prep:\n");
log(" proc\n");
- log(" opt_const\n");
+ log(" opt_expr -keepdc\n");
log(" opt_clean\n");
log(" check\n");
log(" opt -keepdc\n");
@@ -134,7 +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_expr -keepdc");
Pass::call(design, "opt_clean");
Pass::call(design, "check");
Pass::call(design, "opt -keepdc");