diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/router2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/router2.cc b/common/router2.cc index 5f3ebeea..228cf7f0 100644 --- a/common/router2.cc +++ b/common/router2.cc @@ -304,7 +304,7 @@ struct Router2 source_uses = wd.bound_nets.at(net->udata).first; if (pip != PipId()) { Loc pl = ctx->getPipLocation(pip); - bias_cost = 0.5f * (base_cost / int(net->users.size())) * + bias_cost = 0.25f * (base_cost / int(net->users.size())) * ((std::abs(pl.x - nd.cx) + std::abs(pl.y - nd.cy)) / float(nd.hpwl)); } return base_cost * hist_cost * present_cost / (1 + source_uses) + bias_cost; |