Merge pull request #608 from YosysHQ/gatecat/lifcl-17

Fix global normalisation for LIFCL-17
This commit is contained in:
gatecat 2021-03-03 15:19:17 +00:00 committed by GitHub
commit 1aab019f1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;