aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/post_place.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/post_place.cc')
-rw-r--r--nexus/post_place.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/nexus/post_place.cc b/nexus/post_place.cc
index b712aea3..b6817b57 100644
--- a/nexus/post_place.cc
+++ b/nexus/post_place.cc
@@ -32,10 +32,7 @@ struct NexusPostPlaceOpt
NexusPostPlaceOpt(Context *ctx) : ctx(ctx), tmg(ctx){};
- inline bool is_constrained(CellInfo *cell)
- {
- return cell->constr_parent != nullptr || !cell->constr_children.empty();
- }
+ inline bool is_constrained(CellInfo *cell) { return cell->cluster != ClusterId(); }
bool swap_cell_placement(CellInfo *cell, BelId new_bel)
{