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