diff options
author | Adam Greig <adam@adamgreig.com> | 2021-04-12 13:42:20 +0100 |
---|---|---|
committer | Adam Greig <adam@adamgreig.com> | 2021-04-12 13:42:20 +0100 |
commit | 2fdf41ac01167051d2ffd096d3fdb9fbf85c93a6 (patch) | |
tree | 7fc033519ccd23ce8eebd2cebb84c6281ec39e8c | |
parent | fc15105643078b014cb8b9d499b72cdf13600a6a (diff) | |
download | nextpnr-2fdf41ac01167051d2ffd096d3fdb9fbf85c93a6.tar.gz nextpnr-2fdf41ac01167051d2ffd096d3fdb9fbf85c93a6.tar.bz2 nextpnr-2fdf41ac01167051d2ffd096d3fdb9fbf85c93a6.zip |
HeAP: Skip high-strength cells in both cell loops.
Previously only the first loop skipped cells with high belStrength,
but they can't be processed by the second loop either, so skip them
there too.
-rw-r--r-- | common/placer_heap.cc | 4 |
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)) { |