Restore initial assign_budget() call after pack(), restrict call after initial_placement to slack_redist
This commit is contained in:
parent
6c8319e29a
commit
f048deb33d
@ -138,7 +138,8 @@ class SAPlacer
|
||||
if ((placed_cells - constr_placed_cells) % 500 != 0)
|
||||
log_info(" initial placement placed %d/%d cells\n", int(placed_cells - constr_placed_cells),
|
||||
int(autoplaced.size()));
|
||||
assign_budget(ctx);
|
||||
if (ctx->slack_redist_iter > 0)
|
||||
assign_budget(ctx);
|
||||
ctx->yield();
|
||||
|
||||
log_info("Running simulated annealing placer.\n");
|
||||
|
@ -366,6 +366,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (!ctx->pack() && !ctx->force)
|
||||
log_error("Packing design failed.\n");
|
||||
assign_budget(ctx.get());
|
||||
ctx->check();
|
||||
print_utilisation(ctx.get());
|
||||
if (!vm.count("pack-only")) {
|
||||
|
Loading…
Reference in New Issue
Block a user