aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/placer_heap.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc
index 4f62e77b..7a6c2a3e 100644
--- a/common/placer_heap.cc
+++ b/common/placer_heap.cc
@@ -1088,7 +1088,8 @@ class HeAPPlacer
for (auto &cell : p->cell_locs) {
if (ctx->cells.at(cell.first)->type != beltype)
continue;
-
+ if (ctx->cells.at(cell.first)->belStrength > STRENGTH_STRONG)
+ continue;
occupancy.at(cell.second.x).at(cell.second.y)++;
// Compute ultimate extent of each chain root
if (p->chain_root.count(cell.first)) {
@@ -1502,4 +1503,4 @@ int HeAPPlacer::CutSpreader::seq = 0;
bool placer_heap(Context *ctx) { return HeAPPlacer(ctx).place(); }
-NEXTPNR_NAMESPACE_END \ No newline at end of file
+NEXTPNR_NAMESPACE_END