From 9a112043294ddca6f0b09892def8db59d277d147 Mon Sep 17 00:00:00 2001 From: Aritz Erkiaga Date: Sun, 22 Dec 2024 18:26:30 +0100 Subject: [PATCH] Update ALU MULT mode in gowin to match nextpnr --- techlibs/gowin/cells_sim.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/techlibs/gowin/cells_sim.v b/techlibs/gowin/cells_sim.v index 76635355d..58a2f52e6 100644 --- a/techlibs/gowin/cells_sim.v +++ b/techlibs/gowin/cells_sim.v @@ -1005,7 +1005,7 @@ always @* begin C = I0; end MULT: begin - S = I0 & I1; + S = (I0 & I1) ^ I3; C = I0 & I1; end endcase