aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-09-10 13:18:10 -0700
committerEddie Hung <eddie@fpgeh.com>2019-09-10 13:18:10 -0700
commitd3fb3081812f0fc34230aabe01b14f06a3240d56 (patch)
treef8d933240c1fb7ee88dbf1bf96973692068c1390
parentbfda921d0317bfb4cb6fc9de8a556c2258b709bc (diff)
downloadyosys-d3fb3081812f0fc34230aabe01b14f06a3240d56.tar.gz
yosys-d3fb3081812f0fc34230aabe01b14f06a3240d56.tar.bz2
yosys-d3fb3081812f0fc34230aabe01b14f06a3240d56.zip
Rename label to map_dsp
-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 e13491e2c..af8ee2368 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -321,7 +321,7 @@ struct SynthXilinxPass : public ScriptPass
run("techmap -map +/cmp2lut.v -D LUT_WIDTH=6");
}
- if (check_label("dsp")) {
+ if (check_label("map_dsp")) {
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')");