Skip to content

Commit 5276017

Browse files
committed
vpr: fix a type. set max pres fac
1 parent d38956b commit 5276017

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/route.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ bool route(const Netlist<>& net_list,
442442
pres_fac *= router_opts.pres_fac_mult;
443443

444444
/* Set the maximum pres_fac to the value passed by the command line argument */
445-
pres_fac = update_draw_pres_fac(std::min(pres_fac, router_opts.pres_fac_mult));
445+
pres_fac = update_draw_pres_fac(std::min(pres_fac, router_opts.max_pres_fac));
446446

447447
// Increase short path criticality if it's having a hard time resolving hold violations due to congestion
448448
if (budgeting_inf.if_set()) {

0 commit comments

Comments
 (0)