diff options
author | gatecat <gatecat@ds0.me> | 2021-03-03 13:46:05 +0000 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-03-03 13:46:05 +0000 |
commit | 685cc23b94a48bffccaf88ad09bf53c3ada5b888 (patch) | |
tree | 26ba14f4039b3a11e781b25bb3a8227c1fcf5f16 /nexus | |
parent | fba71bd182151713455c8d1cf0abefea9cf59831 (diff) | |
download | nextpnr-685cc23b94a48bffccaf88ad09bf53c3ada5b888.tar.gz nextpnr-685cc23b94a48bffccaf88ad09bf53c3ada5b888.tar.bz2 nextpnr-685cc23b94a48bffccaf88ad09bf53c3ada5b888.zip |
nexus: Fix global handling for LIFCL-17
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'nexus')
-rw-r--r-- | nexus/arch.h | 2 |
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; |