mirror of https://github.com/YosysHQ/nextpnr.git
heap: Fix updating of chain cells
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
ec1b3fde8f
commit
92c392f5f5
|
|
@ -859,7 +859,7 @@ class HeAPPlacer
|
|||
for (auto cell : place_cells) {
|
||||
chain_size[cell->name] = 1;
|
||||
if (cell->cluster != ClusterId()) {
|
||||
const auto base = cell_locs[cell->name];
|
||||
const auto base = cell_locs[ctx->getClusterRootCell(cell->cluster)->name];
|
||||
for (auto child : cluster2cells.at(cell->cluster)) {
|
||||
if (child != cell)
|
||||
chain_size[cell->name]++;
|
||||
|
|
|
|||
Loading…
Reference in New Issue