Skip to content

Commit 0358c7a

Browse files
committed
[vpr][route] fix a typo in overuse report
1 parent 1d881f9 commit 0358c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/overuse_report.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ static void report_overused_ipin_opin(std::ostream& os,
256256

257257
//Print out the block index, name and type
258258
// TODO: Needs to be updated when RR Graph Nodes know their layer_num
259-
ClusterBlockId block_id = grid_info.block_at_location({grid_x, grid_y, isubtile, 0});
259+
ClusterBlockId block_id = grid_info.block_at_location({grid_x, grid_y, isubtile, grid_layer});
260260
os << "Block #" << iblock << ": ";
261261
os << "Block name = " << clb_nlist.block_pb(block_id)->name << ", ";
262262
os << "Block type = " << clb_nlist.block_type(block_id)->name << '\n';

0 commit comments

Comments
 (0)