aboutsummaryrefslogtreecommitdiffstats
path: root/common/router2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'common/router2.cc')
-rw-r--r--common/router2.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/router2.cc b/common/router2.cc
index d189cd68..ebd4e390 100644
--- a/common/router2.cc
+++ b/common/router2.cc
@@ -902,7 +902,8 @@ struct Router2
if ((net_data.fail_count % 3) == 0) {
// Every three times a net fails to route, expand the bounding box to increase the search space
#ifndef ARCH_MISTRAL
- // This patch seems to make thing worse for CycloneV, as it slows down the resolution of TD congestion, disable it
+ // This patch seems to make thing worse for CycloneV, as it slows down the resolution of TD congestion,
+ // disable it
net_data.bb.x0 = std::max(net_data.bb.x0 - 1, 0);
net_data.bb.y0 = std::max(net_data.bb.y0 - 1, 0);
net_data.bb.x1 = std::min(net_data.bb.x1 + 1, ctx->getGridDimX());