mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-04-20 09:36:33 +00:00
nexus: Fix global handling for LIFCL-17
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
@@ -373,7 +373,7 @@ inline bool chip_get_hrow_loc(const ChipInfoPOD *chip, int32_t x, int32_t y, int
|
||||
{
|
||||
bool y_found = false;
|
||||
for (auto &s : chip->globals->spines) {
|
||||
if (std::abs(y - s.spine_row) < 3) {
|
||||
if (std::abs(y - s.spine_row) <= 3) {
|
||||
hrow_y = s.spine_row;
|
||||
y_found = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user