From f048deb33dcc1f334fbe54877bdeb4ce4a5ca35d Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sun, 5 Aug 2018 22:55:58 -0700 Subject: Restore initial assign_budget() call after pack(), restrict call after initial_placement to slack_redist --- common/placer1.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/placer1.cc') diff --git a/common/placer1.cc b/common/placer1.cc index 4ba0f3cf..1d00e77a 100644 --- a/common/placer1.cc +++ b/common/placer1.cc @@ -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"); -- cgit v1.2.3