From 045ce3f148a90ae4dc8751f856d39a985384d0cc Mon Sep 17 00:00:00 2001 From: YRabbit Date: Mon, 3 Jan 2022 17:48:31 +1000 Subject: gowin: Fix last MUX8 In fact, there is also an input/output column. Signed-off-by: YRabbit --- gowin/arch.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gowin/arch.cc b/gowin/arch.cc index 2f61685a..8c654b2e 100644 --- a/gowin/arch.cc +++ b/gowin/arch.cc @@ -612,7 +612,7 @@ void Arch::addMuxBels(const DatabasePOD *db, int row, int col) int gcol = col + 1; // no MUX2_LUT8 in the last column - if (j == 7 && col == getGridDimX() - 1) { + if (j == 7 && col == getGridDimX() - 2) { continue; } -- cgit v1.2.3