Skip to content

Commit cca3076

Browse files
committed
remove unnecessary assertion from segment_stats
1 parent 1474b8f commit cca3076

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

vpr/src/route/segment_stats.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ void get_segment_usage_stats(std::vector<t_segment_inf>& segment_inf) {
6060
length = LONGLINE;
6161
const short& inode_capacity = rr_graph.node_capacity(rr_id);
6262
int occ = route_ctx.rr_node_route_inf[inode].occ();
63-
VTR_ASSERT(node_type == CHANX || node_type == CHANY);
6463
auto ax = (node_type == CHANX) ? X_AXIS : Y_AXIS;
65-
VTR_ASSERT(occ <= 1 && inode_capacity <= 1);
6664
directed_occ_by_length[ax][length] += occ;
6765
directed_cap_by_length[ax][length] += inode_capacity;
6866
}

0 commit comments

Comments
 (0)