HeAP: fix region constraint handling
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
1c1c096861
commit
89e15d488a
@ -947,7 +947,7 @@ class HeAPPlacer
|
|||||||
visit.pop();
|
visit.pop();
|
||||||
BelId target = ctx->getBelByLocation(ploc);
|
BelId target = ctx->getBelByLocation(ploc);
|
||||||
if (vc->region != nullptr && vc->region->constr_bels && !vc->region->bels.count(target))
|
if (vc->region != nullptr && vc->region->constr_bels && !vc->region->bels.count(target))
|
||||||
continue;
|
goto fail;
|
||||||
CellInfo *bound;
|
CellInfo *bound;
|
||||||
if (target == BelId() || ctx->getBelType(target) != vc->type)
|
if (target == BelId() || ctx->getBelType(target) != vc->type)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
Loading…
Reference in New Issue
Block a user