1
0
mirror of synced 2026-01-29 05:21:15 +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");