From: Eddie Hung Date: Sat, 22 Jun 2019 00:12:34 +0000 (-0700) Subject: Constrain wreduce only if wide mux X-Git-Tag: working-ls180~1208^2~99 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=faa2d6fc1c4bc10cda96c2dc3721df209d2d2117;p=yosys.git Constrain wreduce only if wide mux --- diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index 3d39afcde..882ebe439 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -226,7 +226,10 @@ struct SynthXilinxPass : public ScriptPass run("opt_clean"); run("check"); run("opt"); - run("wreduce c:* t:$mux %d"); + if (help_mode) + run("wreduce [c:* t:$mux %d]", "(no selection if -nomux)"); + else + run("wreduce" + nomux ? "" : " c:* t:$mux %d"); run("peepopt"); run("opt_clean"); run("alumacc");