File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -377,6 +377,7 @@ void count_unidir_routing_transistors(std::vector<t_segment_inf>& /*segment_inf*
377
377
from_rr_type = rr_graph.node_type (from_rr_node);
378
378
379
379
switch (from_rr_type) {
380
+ case MEDIUM:
380
381
case CHANX:
381
382
case CHANY:
382
383
num_edges = rr_graph.num_edges (RRNodeId (from_node));
@@ -392,6 +393,7 @@ void count_unidir_routing_transistors(std::vector<t_segment_inf>& /*segment_inf*
392
393
}
393
394
394
395
switch (to_rr_type) {
396
+ case MEDIUM:
395
397
case CHANX:
396
398
case CHANY:
397
399
if (!chan_node_switch_done[size_t (to_node)]) {
@@ -465,7 +467,7 @@ void count_unidir_routing_transistors(std::vector<t_segment_inf>& /*segment_inf*
465
467
for (i = rr_graph.node_xlow (from_rr_node); i <= rr_graph.node_xhigh (from_rr_node); i++)
466
468
cblock_counted[i] = false ;
467
469
468
- } else { /* CHANY */
470
+ } else if (from_rr_type == CHANY) { /* CHANY */
469
471
for (j = rr_graph.node_ylow (from_rr_node); j <= rr_graph.node_yhigh (from_rr_node);
470
472
j++)
471
473
cblock_counted[j] = false ;
You can’t perform that action at this time.
0 commit comments