Skip to content

Commit b207bb9

Browse files
committed
[vpr][router] fix the bug when is_inter_cluster_node is called
1 parent d5bc147 commit b207bb9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

vpr/src/route/connection_router.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,9 +1133,8 @@ static inline void update_router_stats(RouterStats* router_stats,
11331133
rr_graph->node_ylow(rr_node_id),
11341134
rr_graph->node_layer(rr_node_id)});
11351135

1136-
if (is_inter_cluster_node(physical_type,
1137-
node_type,
1138-
rr_graph->node_ptc_num(rr_node_id))) {
1136+
if (is_inter_cluster_node(*rr_graph,
1137+
rr_node_id)) {
11391138
if (is_push) {
11401139
router_stats->inter_cluster_node_pushes++;
11411140
router_stats->inter_cluster_node_type_cnt_pushes[node_type]++;

0 commit comments

Comments
 (0)