diff options
author | myrtle <gatecat@ds0.me> | 2022-08-22 13:31:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 13:31:11 +0200 |
commit | 0f4166fedbdba037256f25d0fa692f0487aa43f1 (patch) | |
tree | ee1ec8ae3823de798eab71f288e3262505b9740b /common/route/router2.cc | |
parent | ccf4367209986d7431217f8c3a3df1b71a601385 (diff) | |
parent | a00b997cf19c0123f46f6509b2e42142e72f1d8c (diff) | |
download | nextpnr-0f4166fedbdba037256f25d0fa692f0487aa43f1.tar.gz nextpnr-0f4166fedbdba037256f25d0fa692f0487aa43f1.tar.bz2 nextpnr-0f4166fedbdba037256f25d0fa692f0487aa43f1.zip |
Merge pull request #1017 from YosysHQ/routerfix
Router fix
Diffstat (limited to 'common/route/router2.cc')
-rw-r--r-- | common/route/router2.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/route/router2.cc b/common/route/router2.cc index 1153f054..d054c9ef 100644 --- a/common/route/router2.cc +++ b/common/route/router2.cc @@ -373,8 +373,7 @@ struct Router2 return base_cost * hist_cost * present_cost / (1 + (source_uses * crit_weight)) + bias_cost; } - float get_togo_cost(NetInfo *net, store_index<PortRef> user, int wire, WireId src_sink, float crit_weight, - bool bwd = false) + float get_togo_cost(NetInfo *net, store_index<PortRef> user, int wire, WireId src_sink, bool bwd, float crit_weight) { auto &nd = nets.at(net->udata); auto &wd = flat_wires[wire]; |