From 685cc23b94a48bffccaf88ad09bf53c3ada5b888 Mon Sep 17 00:00:00 2001 From: gatecat Date: Wed, 3 Mar 2021 13:46:05 +0000 Subject: [PATCH] nexus: Fix global handling for LIFCL-17 Signed-off-by: gatecat --- nexus/arch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nexus/arch.h b/nexus/arch.h index 15184d26..5dcc53bc 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -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;