3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-07 18:05:24 +00:00

Constrain wreduce only if wide mux

This commit is contained in:
Eddie Hung 2019-06-21 17:12:34 -07:00
parent aeee9dcad7
commit faa2d6fc1c

View file

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