Merge pull request #892 from yrabbit/off-by-one

gowin: Fix last MUX2_LUT8
This commit is contained in:
gatecat 2022-01-03 12:47:44 +00:00 committed by GitHub
commit 089ca8258e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}