diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/placer1.cc | 2 | ||||
-rw-r--r-- | common/router1.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/placer1.cc b/common/placer1.cc index 278bf466..394bee62 100644 --- a/common/placer1.cc +++ b/common/placer1.cc @@ -237,7 +237,7 @@ class SAPlacer diameter *= post_legalise_dia_scale; ctx->shuffle(autoplaced); assign_budget(ctx); - } else if (iter % ctx->slack_redist_iter == 0) { + } else if (ctx->slack_redist_iter > 0 && iterCnt % ctx->slack_redist_iter == 0) { assign_budget(ctx, true /* quiet */); } diff --git a/common/router1.cc b/common/router1.cc index a246f1d3..d35a7621 100644 --- a/common/router1.cc +++ b/common/router1.cc @@ -615,7 +615,7 @@ bool router1(Context *ctx) if (ctx->verbose || iterCnt == 1) log_info("routing queue contains %d jobs.\n", int(jobQueue.size())); - else if (iterCnt % ctx->slack_redist_iter == 0) + else if (ctx->slack_redist_iter > 0 && iterCnt % ctx->slack_redist_iter == 0) assign_budget(ctx, true /* quiet */); bool printNets = ctx->verbose && (jobQueue.size() < 10); |