From: Eddie Hung Date: Wed, 26 Jun 2019 18:48:35 +0000 (-0700) Subject: Instead of blocking wreduce on $mux, use -keepdc instead #1132 X-Git-Tag: working-ls180~1208^2~67 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c762be593042ed5d812a3a37d494a82565cbaad0;p=yosys.git Instead of blocking wreduce on $mux, use -keepdc instead #1132 --- 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");