HeAP: more realistic timeout threshold

Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
David Shah 2019-11-26 21:36:29 +00:00
parent 523ed4cfb2
commit 4916eb9bb1

View File

@ -800,7 +800,7 @@ class HeAPPlacer
ripup_radius = std::max(std::max(max_x, max_y), ripup_radius * 2); ripup_radius = std::max(std::max(max_x, max_y), ripup_radius * 2);
} }
if (total_iters_noreset > std::max(50000, 1000 * int(ctx->cells.size()))) { if (total_iters_noreset > std::max(5000, 8 * int(ctx->cells.size()))) {
log_error("Unable to find legal placement for all cells, design is probably at utilisation limit.\n"); log_error("Unable to find legal placement for all cells, design is probably at utilisation limit.\n");
} }