Do not swap if equals

This commit is contained in:
Eddie Hung 2019-07-15 16:52:37 -07:00
parent b29f26f6c7
commit fd5b3593d8
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ module \$mul (A, B, Y);
output [Y_WIDTH-1:0] Y;
generate
if (B_WIDTH < A_WIDTH)
if (A_WIDTH >= B_WIDTH)
\$__mul_gen #(
.A_SIGNED(A_SIGNED),
.B_SIGNED(B_SIGNED),