aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-09-10 14:26:12 -0700
committerEddie Hung <eddie@fpgeh.com>2019-09-10 14:26:12 -0700
commit76eedee08928f035f00f46304d1b49e9502401c1 (patch)
treeb847ddca88f39e9c6238a17f3d440ac7ea458c74 /techlibs/xilinx
parentc460d10e60648c5126fe4a105ebf608b4f8d5e1a (diff)
downloadyosys-76eedee08928f035f00f46304d1b49e9502401c1.tar.gz
yosys-76eedee08928f035f00f46304d1b49e9502401c1.tar.bz2
yosys-76eedee08928f035f00f46304d1b49e9502401c1.zip
Really get rid of 'opt_expr -fine' by being explicit
Diffstat (limited to 'techlibs/xilinx')
-rw-r--r--techlibs/xilinx/synth_xilinx.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc
index 9ad28a933..4ca8a4667 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -325,9 +325,6 @@ struct SynthXilinxPass : public ScriptPass
if (!nodsp || help_mode) {
// NB: Xilinx multipliers are signed only
run("techmap -map +/mul2dsp.v -map +/xilinx/dsp_map.v -D DSP_A_MAXWIDTH=25 -D DSP_A_MAXWIDTH_PARTIAL=18 -D DSP_B_MAXWIDTH=18 -D DSP_SIGNEDONLY=1 -D DSP_NAME=$__MUL25X18", "(skip if '-nodsp')");
- // Necessary for optimising away $shl cells, as well as $add cells
- // that have inputs with 1'b0 LSBs
- run("opt_expr -fine", " (skip if '-nodsp')");
run("xilinx_dsp", " (skip if '-nodsp')");
run("chtype -set $mul t:$__soft_mul"," (skip if '-nodsp')");
}