Skip to content

Commit ddc3ac4

Browse files
committed
[core] debugging
1 parent 5ca82e5 commit ddc3ac4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

vpr/src/tileable_rr_graph/tileable_rr_graph_edge_builder.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,7 @@ void build_rr_graph_edges(const RRGraphView& rr_graph,
144144

145145
/* adapt the opin_to_track_map for the GSB nodes */
146146
t_pin2track_map opin2track_map; /* [0..gsb_side][0..num_opin_node][track_indices] */
147-
if (ix < gsb_range.x() && iy < gsb_range.y()) {
148-
opin2track_map = build_gsb_opin_to_track_map(rr_graph, rr_gsb, grids, segment_inf, Fc_out, opin2all_sides);
149-
}
147+
opin2track_map = build_gsb_opin_to_track_map(rr_graph, rr_gsb, grids, segment_inf, Fc_out, opin2all_sides);
150148

151149
/* adapt the switch_block_conn for the GSB nodes */
152150
t_track2track_map sb_conn; /* [0..from_gsb_side][0..chan_width-1][track_indices] */

vpr/src/tileable_rr_graph/tileable_rr_graph_gsb.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,6 +1318,9 @@ t_pin2track_map build_gsb_opin_to_track_map(const RRGraphView& rr_graph,
13181318
continue;
13191319
}
13201320
}
1321+
if (rr_gsb.get_sb_x() == grids.width() - 1 || rr_gsb.get_sb_y() == grids.height() - 1) {
1322+
skip_conn2track = true;
1323+
}
13211324

13221325
if (true == skip_conn2track) {
13231326
continue;

0 commit comments

Comments
 (0)