Skip to content

Commit 02ad280

Browse files
committed
2 parents 39edfb4 + 7da51f7 commit 02ad280

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vpr/src/route/rr_graph.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3444,7 +3444,11 @@ static int get_opin_direct_connections(RRGraphBuilder& rr_graph_builder,
34443444
}
34453445
}
34463446

3447+
//directs[i].sub_tile_offset is added to from_capacity(z) to get the
3448+
// target_capacity
34473449
int target_cap = z + directs[i].sub_tile_offset;
3450+
3451+
// Iterate over all sub_tiles to get the sub_tile which the target_cap belongs to.
34483452
const t_sub_tile* target_sub_tile = nullptr;
34493453
for (const auto& sub_tile : target_type->sub_tiles) {
34503454
if (sub_tile.capacity.is_in_range(target_cap)) {

0 commit comments

Comments
 (0)