aboutsummaryrefslogtreecommitdiffstats
path: root/common/place_common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/place_common.cc')
-rw-r--r--common/place_common.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/place_common.cc b/common/place_common.cc
index e5b48ffb..31b93420 100644
--- a/common/place_common.cc
+++ b/common/place_common.cc
@@ -536,12 +536,4 @@ int get_constraints_distance(const Context *ctx, const CellInfo *cell)
return dist;
}
-bool check_cell_bel_region(const CellInfo *cell, BelId bel)
-{
- if (cell->region != nullptr && cell->region->constr_bels && !cell->region->bels.count(bel))
- return false;
- else
- return true;
-}
-
NEXTPNR_NAMESPACE_END