diff options
author | gatecat <gatecat@ds0.me> | 2021-03-03 15:19:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-03 15:19:17 +0000 |
commit | 1aab019f1e8ba53ba4810b0303536d952dc63b31 (patch) | |
tree | 26ba14f4039b3a11e781b25bb3a8227c1fcf5f16 | |
parent | fba71bd182151713455c8d1cf0abefea9cf59831 (diff) | |
parent | 685cc23b94a48bffccaf88ad09bf53c3ada5b888 (diff) | |
download | nextpnr-1aab019f1e8ba53ba4810b0303536d952dc63b31.tar.gz nextpnr-1aab019f1e8ba53ba4810b0303536d952dc63b31.tar.bz2 nextpnr-1aab019f1e8ba53ba4810b0303536d952dc63b31.zip |
Merge pull request #608 from YosysHQ/gatecat/lifcl-17
Fix global normalisation for LIFCL-17
-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; |