placer1: During initial placement, don't rip-up strongly binded cells

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2018-11-26 11:03:57 +01:00
parent 024db62ef0
commit 822b525035

View File

@ -337,9 +337,10 @@ class SAPlacer
}
} else {
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;
ripup_target = ctx->getBoundBelCell(bel);
ripup_target = bound_cell;
ripup_bel = bel;
}
}