From: Eddie Hung Date: Tue, 21 Jan 2020 01:05:49 +0000 (-0800) Subject: synth_xilinx: techmap +/cmp2lut.v and +/cmp2lcu.v in 'coarse' X-Git-Tag: working-ls180~695^2~5 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=051aefc3c259b69cf49ae97c7d57a71dcf37a844;p=yosys.git synth_xilinx: techmap +/cmp2lut.v and +/cmp2lcu.v in 'coarse' --- diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index 8553efd6b..ac4f5bcf4 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -393,8 +393,6 @@ struct SynthXilinxPass : public ScriptPass run("pmux2shiftx", "(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')")) { @@ -460,6 +458,7 @@ struct SynthXilinxPass : public ScriptPass } if (check_label("coarse")) { + run("techmap -map +/cmp2lut.v -map +/cmp2lcu.v -D LUT_WIDTH=" + lut_size_s); run("alumacc"); run("share"); run("opt");