Skip to content

Commit

Permalink
bug resolved: both incr and dec track switches were using same index
Browse files Browse the repository at this point in the history
  • Loading branch information
saaramahmoudi committed Jun 25, 2024
1 parent 62d1243 commit 4d8a519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vpr/src/route/rr_graph2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ int get_unidir_opin_connections(RRGraphBuilder& rr_graph_builder,
rr_edges_to_create.emplace_back(from_rr_node, inc_inode_index, to_switch, false);
++num_edges;

to_switch = (opin_layer == track_layer) ? seg_details[inc_track].arch_opin_switch() : seg_details[dec_track].arch_opin_between_dice_switch();
to_switch = (opin_layer == track_layer) ? seg_details[dec_track].arch_opin_switch() : seg_details[dec_track].arch_opin_between_dice_switch();
rr_edges_to_create.emplace_back(from_rr_node, dec_inode_index, to_switch, false);
++num_edges;
}
Expand Down

0 comments on commit 4d8a519

Please sign in to comment.