diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-06 07:35:00 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-06 07:35:00 -0700 |
commit | 665202e9361bf4229ec4e1fe833c5592624f1230 (patch) | |
tree | a4421365c658c11e92187af5e96a092898197db1 /common/placer1.cc | |
parent | e314ea761abd8f55b3341f733c01d13ce2d4fae5 (diff) | |
parent | 2fb934b107d63b43afcde0e724a91c33500fe95c (diff) | |
download | nextpnr-665202e9361bf4229ec4e1fe833c5592624f1230.tar.gz nextpnr-665202e9361bf4229ec4e1fe833c5592624f1230.tar.bz2 nextpnr-665202e9361bf4229ec4e1fe833c5592624f1230.zip |
Merge branch 'assign_budget_evenly' into assign_budget_speedup
Conflicts:
common/timing.cc
Diffstat (limited to 'common/placer1.cc')
-rw-r--r-- | common/placer1.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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"); |