Skip to content

Commit

Permalink
Merge pull request verilog-to-routing#2630 from verilog-to-routing/rr…
Browse files Browse the repository at this point in the history
…_graph_edge_bug

RR graph edge creation uses a incorrect switch type for decremental tracks
  • Loading branch information
vaughnbetz committed Jun 28, 2024
2 parents f104122 + 4d8a519 commit 08d886c
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 08d886c

Please sign in to comment.