place_sa: Add log output during initial placement
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
b5c1b09079
commit
7e7aea2c69
@ -311,10 +311,17 @@ bool place_design_sa(Context *ctx)
|
|||||||
// Place cells randomly initially
|
// Place cells randomly initially
|
||||||
log_info("Creating initial placement for remaining %d cells.\n",
|
log_info("Creating initial placement for remaining %d cells.\n",
|
||||||
int(autoplaced.size()));
|
int(autoplaced.size()));
|
||||||
|
|
||||||
for (auto cell : autoplaced) {
|
for (auto cell : autoplaced) {
|
||||||
place_initial(ctx, cell, state.checker);
|
place_initial(ctx, cell, state.checker);
|
||||||
placed_cells++;
|
placed_cells++;
|
||||||
|
if (placed_cells % 500 == 0) {
|
||||||
|
log_info("Initial placement placed %d/%d cells\n",
|
||||||
|
int(placed_cells), int(ctx->cells.size()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
log_info("Initial placement placed %d/%d cells\n", int(placed_cells),
|
||||||
|
int(ctx->cells.size()));
|
||||||
|
|
||||||
log_info("Running simulated annealing placer.\n");
|
log_info("Running simulated annealing placer.\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user