mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-02-22 15:27:57 +00:00
HeAP: fix region constraint handling
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
@@ -947,7 +947,7 @@ class HeAPPlacer
|
||||
visit.pop();
|
||||
BelId target = ctx->getBelByLocation(ploc);
|
||||
if (vc->region != nullptr && vc->region->constr_bels && !vc->region->bels.count(target))
|
||||
continue;
|
||||
goto fail;
|
||||
CellInfo *bound;
|
||||
if (target == BelId() || ctx->getBelType(target) != vc->type)
|
||||
goto fail;
|
||||
|
||||
Reference in New Issue
Block a user