Use single DSP_SIGNEDONLY macro

This commit is contained in:
Eddie Hung 2019-07-18 13:09:55 -07:00
parent 2024357f32
commit 5562cb08a4
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ struct SynthXilinxPass : public ScriptPass
if (!nodsp || help_mode) { if (!nodsp || help_mode) {
// NB: Xilinx multipliers are signed only // NB: Xilinx multipliers are signed only
run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=25 -D DSP_A_SIGNEDONLY=1 -D DSP_B_MAXWIDTH=18 -D DSP_B_SIGNEDONLY=1 -D DSP_NAME=$__MUL25X18"); run("techmap -map +/mul2dsp.v -D DSP_A_MAXWIDTH=25 -D DSP_B_MAXWIDTH=18 -D DSP_SIGNEDONLY=1 -D DSP_NAME=$__MUL25X18");
} }
run("alumacc"); run("alumacc");