mirror of https://github.com/YosysHQ/nextpnr.git
placer1: Restore old weighting in budget-based mode
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
00b09fbb43
commit
efc6872341
|
|
@ -740,7 +740,7 @@ class SAPlacer
|
|||
return 0;
|
||||
if (cfg.budgetBased) {
|
||||
double delay = ctx->getDelayNS(ctx->predictDelay(net, net->users.at(user)));
|
||||
return std::min(10.0, std::exp(delay - ctx->getDelayNS(net->users.at(user).budget)));
|
||||
return std::min(10.0, std::exp(delay - ctx->getDelayNS(net->users.at(user).budget) / 10));
|
||||
} else {
|
||||
auto crit = net_crit.find(net->name);
|
||||
if (crit == net_crit.end() || crit->second.criticality.empty())
|
||||
|
|
|
|||
Loading…
Reference in New Issue