placer1: During initial placement, don't rip-up strongly binded cells
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
024db62ef0
commit
822b525035
@ -337,9 +337,10 @@ class SAPlacer
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
uint64_t score = ctx->rng64();
|
uint64_t score = ctx->rng64();
|
||||||
if (score <= best_ripup_score) {
|
CellInfo *bound_cell = ctx->getBoundBelCell(bel);
|
||||||
|
if (score <= best_ripup_score && bound_cell->belStrength < STRENGTH_STRONG) {
|
||||||
best_ripup_score = score;
|
best_ripup_score = score;
|
||||||
ripup_target = ctx->getBoundBelCell(bel);
|
ripup_target = bound_cell;
|
||||||
ripup_bel = bel;
|
ripup_bel = bel;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user