Skip to content

Commit 12f2ca6

Browse files
committed
use the reachable segment layer num
1 parent 1ea2bf8 commit 12f2ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/router_lookahead_map.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,7 @@ static std::pair<float, float> get_cost_from_src_opin(const std::map<int, util::
15361536
//delay and congestion cost estimates
15371537
wire_cost_entry = get_wire_cost_entry(reachable_wire_inf.wire_rr_type,
15381538
reachable_wire_inf.wire_seg_index,
1539-
from_layer_num,
1539+
reachable_wire_inf.layer_number,
15401540
delta_x,
15411541
delta_y,
15421542
to_layer_num);

0 commit comments

Comments
 (0)