Skip to content

Commit 08d886c

Browse files
authored
Merge pull request #2630 from verilog-to-routing/rr_graph_edge_bug
RR graph edge creation uses a incorrect switch type for decremental tracks
2 parents f104122 + 4d8a519 commit 08d886c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/rr_graph2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ int get_unidir_opin_connections(RRGraphBuilder& rr_graph_builder,
836836
rr_edges_to_create.emplace_back(from_rr_node, inc_inode_index, to_switch, false);
837837
++num_edges;
838838

839-
to_switch = (opin_layer == track_layer) ? seg_details[inc_track].arch_opin_switch() : seg_details[dec_track].arch_opin_between_dice_switch();
839+
to_switch = (opin_layer == track_layer) ? seg_details[dec_track].arch_opin_switch() : seg_details[dec_track].arch_opin_between_dice_switch();
840840
rr_edges_to_create.emplace_back(from_rr_node, dec_inode_index, to_switch, false);
841841
++num_edges;
842842
}

0 commit comments

Comments
 (0)