1
0
mirror of https://github.com/YosysHQ/nextpnr.git synced 2026-04-28 04:54:43 +00:00

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

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