aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx/synth_xilinx.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-04-03 16:28:25 -0700
committerGitHub <noreply@github.com>2020-04-03 16:28:25 -0700
commitd61a6b81fcbc90dba81e136e0de65904f73a859e (patch)
tree2ef4b8f284c132b89015211a235379a12b87fb2a /techlibs/xilinx/synth_xilinx.cc
parentcf716e1fff53fe4633dce98ebca04fe36c283106 (diff)
parent7b38cde2df0631aac0377cd155653ae0e0084ed0 (diff)
downloadyosys-d61a6b81fcbc90dba81e136e0de65904f73a859e.tar.gz
yosys-d61a6b81fcbc90dba81e136e0de65904f73a859e.tar.bz2
yosys-d61a6b81fcbc90dba81e136e0de65904f73a859e.zip
Merge pull request #1648 from YosysHQ/eddie/cmp2lcu
"techmap -map +/cmp2lcu.v" for decomposing arithmetic compares to $lcu
Diffstat (limited to 'techlibs/xilinx/synth_xilinx.cc')
-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");