Skip to content

Commit 456e7fc

Browse files
committed
extended_lookahead: re-enable SRC/OPIN lookahead cost
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent 8e252a4 commit 456e7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/router_lookahead_extended_map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ float ExtendedMapLookahead::get_expected_cost(
545545

546546
t_rr_type rr_type = device_ctx.rr_nodes[current_node].type();
547547

548-
if (rr_type == CHANX || rr_type == CHANY) {
548+
if (rr_type == CHANX || rr_type == CHANY || rr_type == SOURCE || rr_type == OPIN) {
549549
return get_map_cost(
550550
RRNodeId(current_node), RRNodeId(target_node), params.criticality);
551551
} else if (rr_type == IPIN) { /* Change if you're allowing route-throughs */

0 commit comments

Comments
 (0)