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:
parent
cee3cb31b9
commit
30f1d10948
3 changed files with 30 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue