3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

gowin: Fix X output of $alu techmap

This commit is contained in:
Ralf Fuest 2023-05-01 17:56:41 +02:00
parent cee3cb31b9
commit 30f1d10948
3 changed files with 30 additions and 1 deletions

View file

@ -62,6 +62,6 @@ module _80_gw1n_alu(A, B, CI, BI, X, Y, CO);
.SUM(Y[i])
);
end endgenerate
assign X = AA ^ BB;
assign X = AA ^ BB ^ {Y_WIDTH{BI}};
endmodule