mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-15 13:28:59 +00:00
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;
|
output [Y_WIDTH-1:0] Y;
|
||||||
|
|
||||||
generate
|
generate
|
||||||
if (B_WIDTH < A_WIDTH)
|
if (A_WIDTH >= B_WIDTH)
|
||||||
\$__mul_gen #(
|
\$__mul_gen #(
|
||||||
.A_SIGNED(A_SIGNED),
|
.A_SIGNED(A_SIGNED),
|
||||||
.B_SIGNED(B_SIGNED),
|
.B_SIGNED(B_SIGNED),
|
||||||
|
|
Loading…
Reference in a new issue