aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-03 13:46:05 +0000
committergatecat <gatecat@ds0.me>2021-03-03 13:46:05 +0000
commit685cc23b94a48bffccaf88ad09bf53c3ada5b888 (patch)
tree26ba14f4039b3a11e781b25bb3a8227c1fcf5f16
parentfba71bd182151713455c8d1cf0abefea9cf59831 (diff)
downloadnextpnr-685cc23b94a48bffccaf88ad09bf53c3ada5b888.tar.gz
nextpnr-685cc23b94a48bffccaf88ad09bf53c3ada5b888.tar.bz2
nextpnr-685cc23b94a48bffccaf88ad09bf53c3ada5b888.zip
nexus: Fix global handling for LIFCL-17
Signed-off-by: gatecat <gatecat@ds0.me>
-rw-r--r--nexus/arch.h2
1 files changed, 1 insertions, 1 deletions
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;