Instead of blocking wreduce on $mux, use -keepdc instead #1132

This commit is contained in:
Eddie Hung 2019-06-26 11:48:35 -07:00
parent 8d8261c71f
commit c762be5930
1 changed files with 2 additions and 2 deletions

View 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");