aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-01-03 12:47:44 +0000
committerGitHub <noreply@github.com>2022-01-03 12:47:44 +0000
commit089ca8258e6f4dc93f8d39594c1109a8578cdc98 (patch)
tree77bdb3f98024a546e8b65b50321ce7daecdc76a8
parent3266c51d853bfab6d890739010eb34fdc0fc38c7 (diff)
parent045ce3f148a90ae4dc8751f856d39a985384d0cc (diff)
downloadnextpnr-089ca8258e6f4dc93f8d39594c1109a8578cdc98.tar.gz
nextpnr-089ca8258e6f4dc93f8d39594c1109a8578cdc98.tar.bz2
nextpnr-089ca8258e6f4dc93f8d39594c1109a8578cdc98.zip
Merge pull request #892 from yrabbit/off-by-one
gowin: Fix last MUX2_LUT8
-rw-r--r--gowin/arch.cc2
1 files changed, 1 insertions, 1 deletions
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;
}