diff --git a/himbaechel/uarch/gatemate/gatemate.cc b/himbaechel/uarch/gatemate/gatemate.cc index 3f85211e..66048883 100644 --- a/himbaechel/uarch/gatemate/gatemate.cc +++ b/himbaechel/uarch/gatemate/gatemate.cc @@ -1083,8 +1083,8 @@ void GateMateImpl::configurePlacerStatic(PlacerStaticCfg &cfg) void GateMateImpl::configureRouter2(Router2Cfg &cfg) { cfg.get_base_cost = [](Context *ctx, WireId wire, PipId pip, float crit_weight) { float delay_cost = ctx->getDelayNS(ctx->getPipDelay(pip).maxDelay() + ctx->getWireDelay(wire).maxDelay() + ctx->getDelayEpsilon()); - const float rr_cost = 0.5f; // fundamental cost of using a routing resource - return delay_cost + rr_cost * (1.0f - crit_weight); + const float rr_cost = 0.1f; // fundamental cost of using a routing resource + return delay_cost + rr_cost * crit_weight; // return delay_cost; }; }