From: Eddie Hung Date: Tue, 4 Jun 2019 06:29:45 +0000 (-0700) Subject: Fix pmux2shiftx logic X-Git-Tag: working-ls180~1208^2~208 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5afa42432f71443e69d1095d17066ae173b7883a;p=yosys.git Fix pmux2shiftx logic --- diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index 4269870d7..19a19d14e 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -229,7 +229,7 @@ struct SynthXilinxPass : public ScriptPass // cells for identifying variable-length shift registers, // so attempt to convert $pmux-es to the former // Also: wide multiplexer inference benefits from this too - if ((!nosrl && !nomux) || help_mode) + if (!(nosrl && nomux) || help_mode) run("pmux2shiftx", "(skip if '-nosrl' and '-nomux')"); // Run a number of peephole optimisations, including one