Remove unnecessary check for A_SIGNED != B_SIGNED; be more explicit

This commit is contained in:
Eddie Hung 2019-09-25 17:26:47 -07:00
parent a4238637ac
commit 34aa3532fb
1 changed files with 1 additions and 3 deletions

View File

@ -77,10 +77,8 @@ module _80_mul (A, B, Y);
else if (Y_WIDTH < `DSP_Y_MINWIDTH)
wire _TECHMAP_FAIL_ = 1;
`endif
else if (_TECHMAP_CELLTYPE_ == "$mul" && A_SIGNED != B_SIGNED)
wire _TECHMAP_FAIL_ = 1;
`ifdef DSP_SIGNEDONLY
else if (_TECHMAP_CELLTYPE_ == "$mul" && !A_SIGNED)
else if (_TECHMAP_CELLTYPE_ == "$mul" && !A_SIGNED && !B_SIGNED)
\$mul #(
.A_SIGNED(1),
.B_SIGNED(1),