aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-06-26 11:48:35 -0700
committerEddie Hung <eddie@fpgeh.com>2019-06-26 11:48:35 -0700
commitc762be593042ed5d812a3a37d494a82565cbaad0 (patch)
tree556ca9482e37ec09a7992c1f4ac20c5d2306d2ea /techlibs/xilinx
parent8d8261c71fd34de7eb4cb5ae7bdb2592f33ed852 (diff)
downloadyosys-c762be593042ed5d812a3a37d494a82565cbaad0.tar.gz
yosys-c762be593042ed5d812a3a37d494a82565cbaad0.tar.bz2
yosys-c762be593042ed5d812a3a37d494a82565cbaad0.zip
Instead of blocking wreduce on $mux, use -keepdc instead #1132
Diffstat (limited to 'techlibs/xilinx')
-rw-r--r--techlibs/xilinx/synth_xilinx.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc
index efa4d43f0..278098a58 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -249,9 +249,9 @@ struct SynthXilinxPass : public ScriptPass
run("check");
run("opt");
if (help_mode)
- run("wreduce [c:* t:$mux %d]", "(selection for '-widemux' only)");
+ run("wreduce [-keepdc]", "('-widemux' only)");
else
- run("wreduce" + std::string(widemux > 0 ? " c:* t:$mux %d" : ""));
+ run("wreduce" + std::string(widemux > 0 ? " -keepdc" : ""));
run("peepopt");
run("opt_clean");
run("alumacc");