synth: use +/cmp2lcu.v in generic 'synth' too

This commit is contained in:
Eddie Hung 2020-02-05 14:31:51 -08:00
parent 2bf03c6ae0
commit 5b87720b16
1 changed files with 2 additions and 2 deletions

View File

@ -225,9 +225,9 @@ struct SynthPass : public ScriptPass
run("peepopt");
run("opt_clean");
if (help_mode)
run("techmap -map +/cmp2lut.v", " (if -lut)");
run("techmap -map +/cmp2lut.v -map +/cmp2lcu.v", " (if -lut)");
else
run(stringf("techmap -map +/cmp2lut.v -D LUT_WIDTH=%d", lut));
run(stringf("techmap -map +/cmp2lut.v -map +/cmp2lcu.v -D LUT_WIDTH=%d", lut));
if (!noalumacc)
run("alumacc", " (unless -noalumacc)");
if (!noshare)