mirror of https://github.com/YosysHQ/yosys.git
Do not swap if equals
This commit is contained in:
parent
b29f26f6c7
commit
fd5b3593d8
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue