aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-04-12 14:16:22 +0100
committerGitHub <noreply@github.com>2021-04-12 14:16:22 +0100
commit5cd2a7f9c26dabbbf6e016d9b6108639d29a9417 (patch)
treebcba738216ecade59d0f89ec67821bf8676b4a6f /common
parentdc6453b720c484f9ab92e1f1a81f890912979e08 (diff)
parent2fdf41ac01167051d2ffd096d3fdb9fbf85c93a6 (diff)
downloadnextpnr-5cd2a7f9c26dabbbf6e016d9b6108639d29a9417.tar.gz
nextpnr-5cd2a7f9c26dabbbf6e016d9b6108639d29a9417.tar.bz2
nextpnr-5cd2a7f9c26dabbbf6e016d9b6108639d29a9417.zip
Merge pull request #674 from adamgreig/heap-spreader-fix
HeAP: Skip high-strength cells in both cell loops
Diffstat (limited to 'common')
-rw-r--r--common/placer_heap.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc
index 97c9c4e5..042f3046 100644
--- a/common/placer_heap.cc
+++ b/common/placer_heap.cc
@@ -1322,6 +1322,10 @@ class HeAPPlacer
continue;
}
+ if (cell.belStrength > STRENGTH_STRONG) {
+ continue;
+ }
+
// Transfer chain extents to the actual chains structure
ChainExtent *ce = nullptr;
if (p->chain_root.count(cell_name)) {