synth: only techmap cmp2{lut,lcu} if -lut

This commit is contained in:
Eddie Hung
2020-04-03 14:28:22 -07:00
parent 5b87720b16
commit 34c9b83854
+1 -1
View File
@@ -226,7 +226,7 @@ struct SynthPass : public ScriptPass
run("opt_clean");
if (help_mode)
run("techmap -map +/cmp2lut.v -map +/cmp2lcu.v", " (if -lut)");
else
else if (lut)
run(stringf("techmap -map +/cmp2lut.v -map +/cmp2lcu.v -D LUT_WIDTH=%d", lut));
if (!noalumacc)
run("alumacc", " (unless -noalumacc)");