From 42522c492cd7da25ee5b1ace941a93e01fe94038 Mon Sep 17 00:00:00 2001 From: gatecat Date: Sun, 15 Aug 2021 09:34:50 +0100 Subject: [PATCH] router2: Alternative congestion cost schedule Signed-off-by: gatecat --- common/router2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/router2.cc b/common/router2.cc index cb5f3eab..0e3a6ebb 100644 --- a/common/router2.cc +++ b/common/router2.cc @@ -1402,7 +1402,7 @@ struct Router2 total_overuse, overused_wires > 0 ? "NA" : std::to_string(arch_fail).c_str()); ++iter; if (curr_cong_weight < 1e9) - curr_cong_weight *= cfg.curr_cong_mult; + curr_cong_weight += cfg.curr_cong_mult; } while (!failed_nets.empty()); if (cfg.perf_profile) { std::vector> nets_by_runtime;