`ifndef DSP_B_MAXWIDTH\r
$error("Macro DSP_B_MAXWIDTH must be defined");\r
`endif\r
-`ifndef DSP_SIGNEDONLY\r
-`define DSP_SIGNEDONLY 0\r
-`endif\r
\r
`ifndef DSP_NAME\r
$error("Macro DSP_NAME must be defined");\r
generate\r
if (A_SIGNED != B_SIGNED)\r
wire _TECHMAP_FAIL_ = 1;\r
- else if (`DSP_SIGNEDONLY && !A_SIGNED) begin\r
+`ifdef DSP_SIGNEDONLY\r
+ else if (!A_SIGNED) begin\r
wire [1:0] dummy;\r
\$mul #(\r
.A_SIGNED(1),\r
.Y({dummy, Y})\r
);\r
end\r
+`endif\r
// NB: A_SIGNED == B_SIGNED == 0 from here\r
else if (A_WIDTH >= B_WIDTH)\r
\$__mul_gen #(\r