From c5306758f27ba2ea2036cb0c90cbecf3aeb55468 Mon Sep 17 00:00:00 2001 From: Matt Liberty Date: Wed, 21 Oct 2026 04:14:50 +0000 Subject: [PATCH] gf180: remove incorrect $_DLATCH_N_ latch mapping latsnq is a positive-enable latch with an active-low set, not a negative-enable latch. Mapping $_DLATCH_N_ to it ignored the enable polarity and left SETN unconnected. Drop the mapping so yosys handles negative-enable latches itself. Signed-off-by: Matt Liberty --- flow/platforms/gf180/cells_latch.v | 8 -------- 1 file changed, 8 deletions(-) diff --git a/flow/platforms/gf180/cells_latch.v b/flow/platforms/gf180/cells_latch.v index 9b1767d28f..2748c4ade4 100644 --- a/flow/platforms/gf180/cells_latch.v +++ b/flow/platforms/gf180/cells_latch.v @@ -5,11 +5,3 @@ module $_DLATCH_P_(input E, input D, output Q); .Q(Q) ); endmodule - -module $_DLATCH_N_(input E, input D, output Q); - gf180mcu_fd_sc_mcu9t5v0__latsnq_1 _TECHMAP_REPLACE_ ( - .D(D), - .E(E), - .Q(Q) - ); -endmodule