Skip to content

Commit b9d7b1a

Browse files
committed
[vpr][route] add assertion to check node is valid
1 parent 9427807 commit b9d7b1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vpr/src/route/overuse_report.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ static void print_block_pins_nets(std::ostream& os,
492492
if (!pin_on_tile && node_id == RRNodeId::INVALID()) {
493493
continue;
494494
}
495+
VTR_ASSERT(node_id.is_valid());
495496
auto search_result = rr_node_to_net_map.find(node_id);
496497
if (rr_type == t_rr_type::OPIN) {
497498
os << " OPIN - ";

0 commit comments

Comments
 (0)