aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-11-26 21:36:29 +0000
committerDavid Shah <dave@ds0.me>2019-11-26 21:45:46 +0000
commit4916eb9bb16b09a547e97e7aa18444660d44ddd8 (patch)
treea42f65defabee74187ad539ec176a6df27482535 /common
parent523ed4cfb2e37d23d40a56d77c082e3ea42f9082 (diff)
downloadnextpnr-4916eb9bb16b09a547e97e7aa18444660d44ddd8.tar.gz
nextpnr-4916eb9bb16b09a547e97e7aa18444660d44ddd8.tar.bz2
nextpnr-4916eb9bb16b09a547e97e7aa18444660d44ddd8.zip
HeAP: more realistic timeout threshold
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common')
-rw-r--r--common/placer_heap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/placer_heap.cc b/common/placer_heap.cc
index 4a380a04..80ce67b2 100644
--- a/common/placer_heap.cc
+++ b/common/placer_heap.cc
@@ -800,7 +800,7 @@ class HeAPPlacer
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");
}