aboutsummaryrefslogtreecommitdiffstats
path: root/common/place_common.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-02-23 21:53:00 +0000
committerGitHub <noreply@github.com>2021-02-23 21:53:00 +0000
commit85af066d4f5a189ccdc6c7d6bafabb319a946901 (patch)
treeeb49451604c28c4b5444370508983681edbfd1ae /common/place_common.cc
parent20f0ba9526abfb8c39fa16099f0eefd2c0555eac (diff)
parent162793aa87c1be7571ee27445205ce267f18c0c7 (diff)
downloadnextpnr-85af066d4f5a189ccdc6c7d6bafabb319a946901.tar.gz
nextpnr-85af066d4f5a189ccdc6c7d6bafabb319a946901.tar.bz2
nextpnr-85af066d4f5a189ccdc6c7d6bafabb319a946901.zip
Merge pull request #594 from YosysHQ/gatecat/heap-tidying
Tidying up HeAP
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