Instead of blocking wreduce on $mux, use -keepdc instead #1132
authorEddie Hung <eddie@fpgeh.com>
Wed, 26 Jun 2019 18:48:35 +0000 (11:48 -0700)
committerEddie Hung <eddie@fpgeh.com>
Wed, 26 Jun 2019 18:48:35 +0000 (11:48 -0700)
techlibs/xilinx/synth_xilinx.cc

index efa4d43f07acc56f0cf870aab78de78b99155d1e..278098a58d63b2dbf8e8ca03c0dfda77d90bf71d 100644 (file)
@@ -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");