aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-13 10:21:24 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-13 10:21:24 -0700
commit2a1b98d478918b0a17c7e509ada6e7a71bbab526 (patch)
tree08db51f86e8ee1ebac897e7fb4a4e23ee1503f6f /techlibs/xilinx
parentf890cfb63b71ae7b09e19c290ec70c358dcbe9cd (diff)
downloadyosys-2a1b98d478918b0a17c7e509ada6e7a71bbab526.tar.gz
yosys-2a1b98d478918b0a17c7e509ada6e7a71bbab526.tar.bz2
yosys-2a1b98d478918b0a17c7e509ada6e7a71bbab526.zip
Add DSP_A_MAXWIDTH_PARTIAL, refactor
Diffstat (limited to 'techlibs/xilinx')
-rw-r--r--techlibs/xilinx/synth_xilinx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc
index 265cee6d6..477b2f6f7 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -286,7 +286,7 @@ 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_B_MAXWIDTH=18 -D DSP_SIGNEDONLY=1 -D DSP_NAME=$__MUL25X18", "(skip if '-nodsp')");
+ 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')");
run("opt_expr -fine", " (skip if '-nodsp')");
run("wreduce", " (skip if '-nodsp')");
run("xilinx_dsp", " (skip if '-nodsp')");