diff options
author | gatecat <gatecat@ds0.me> | 2021-02-23 21:53:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-23 21:53:00 +0000 |
commit | 85af066d4f5a189ccdc6c7d6bafabb319a946901 (patch) | |
tree | eb49451604c28c4b5444370508983681edbfd1ae /common/place_common.cc | |
parent | 20f0ba9526abfb8c39fa16099f0eefd2c0555eac (diff) | |
parent | 162793aa87c1be7571ee27445205ce267f18c0c7 (diff) | |
download | nextpnr-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.cc | 8 |
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 |