We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f86b04 commit 3efa8a2Copy full SHA for 3efa8a2
vpr/src/route/route.cpp
@@ -441,8 +441,8 @@ bool route(const Netlist<>& net_list,
441
} else {
442
pres_fac *= router_opts.pres_fac_mult;
443
444
- /* Avoid overflow for high iteration counts, even if acc_cost is big */
445
- pres_fac = update_draw_pres_fac(std::min(pres_fac, static_cast<float>(1000)));
+ /* Set the maximum pres_fac to the value passed by the command line argument */
+ pres_fac = update_draw_pres_fac(std::min(pres_fac, router_opts.pres_fac_mult));
446
447
// Increase short path criticality if it's having a hard time resolving hold violations due to congestion
448
if (budgeting_inf.if_set()) {
0 commit comments