Skip to content

Commit 484240e

Browse files
committed
[vpr][route] construct the routing predictor with the configured min history
1 parent de6c4c5 commit 484240e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vpr/src/route/route.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ bool route(const Netlist<>& net_list,
9898
/*
9999
* Configure the routing predictor
100100
*/
101-
RoutingPredictor routing_predictor;
101+
RoutingPredictor routing_predictor(router_opts.routing_predictor_min_history);
102102
float abort_iteration_threshold = std::numeric_limits<float>::infinity(); //Default no early abort
103103
if (router_opts.routing_failure_predictor == SAFE) {
104104
abort_iteration_threshold = ROUTING_PREDICTOR_ITERATION_ABORT_FACTOR_SAFE * router_opts.max_router_iterations;

0 commit comments

Comments
 (0)