aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-20 17:05:49 -0800
committerEddie Hung <eddie@fpgeh.com>2020-04-03 14:28:22 -0700
commit051aefc3c259b69cf49ae97c7d57a71dcf37a844 (patch)
tree09460492c02b121e705b57579eecabaf895f3fb0 /techlibs
parent99a32432aa47833850cd3bed37bed926e16d9a76 (diff)
downloadyosys-051aefc3c259b69cf49ae97c7d57a71dcf37a844.tar.gz
yosys-051aefc3c259b69cf49ae97c7d57a71dcf37a844.tar.bz2
yosys-051aefc3c259b69cf49ae97c7d57a71dcf37a844.zip
synth_xilinx: techmap +/cmp2lut.v and +/cmp2lcu.v in 'coarse'
Diffstat (limited to 'techlibs')
-rw-r--r--techlibs/xilinx/synth_xilinx.cc3
1 files changed, 1 insertions, 2 deletions
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");