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

synth_xilinx: techmap +/cmp2lut.v and +/cmp2lcu.v in 'coarse'

This commit is contained in:
Eddie Hung 2020-01-20 17:05:49 -08:00
parent 99a32432aa
commit 051aefc3c2

View file

@ -393,8 +393,6 @@ struct SynthXilinxPass : public ScriptPass
run("pmux2shiftx", "(skip if '-nosrl' and '-widemux=0')"); run("pmux2shiftx", "(skip if '-nosrl' and '-widemux=0')");
run("clean", " (skip if '-nosrl' and '-widemux=0')"); run("clean", " (skip if '-nosrl' and '-widemux=0')");
} }
run("techmap -map +/cmp2lut.v -D LUT_WIDTH=" + lut_size_s);
} }
if (check_label("map_dsp", "(skip if '-nodsp')")) { if (check_label("map_dsp", "(skip if '-nodsp')")) {
@ -460,6 +458,7 @@ struct SynthXilinxPass : public ScriptPass
} }
if (check_label("coarse")) { if (check_label("coarse")) {
run("techmap -map +/cmp2lut.v -map +/cmp2lcu.v -D LUT_WIDTH=" + lut_size_s);
run("alumacc"); run("alumacc");
run("share"); run("share");
run("opt"); run("opt");