diff options
Diffstat (limited to 'ice40/arch.cc')
-rw-r--r-- | ice40/arch.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ice40/arch.cc b/ice40/arch.cc index 5d7d1fb4..3833dcb7 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -283,8 +283,7 @@ BelRange Arch::getBelsByTile(int x, int y) const br.e.cursor = br.b.cursor; if (br.e.cursor != -1) { - while (br.e.cursor < chip_info->num_bels && - chip_info->bel_data[br.e.cursor].x == x && + while (br.e.cursor < chip_info->num_bels && chip_info->bel_data[br.e.cursor].x == x && chip_info->bel_data[br.e.cursor].y == y) br.e.cursor++; } |