Skip to content

Commit 826a10b

Browse files
committed
[vpr] debugging
1 parent ba0576d commit 826a10b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

vpr/src/tileable_rr_graph/tileable_rr_graph_edge_builder.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ void build_rr_graph_edges(const RRGraphView& rr_graph,
125125
build_rr_graph_edges_for_source_nodes(rr_graph, rr_graph_builder, rr_node_driver_switches, grids, layer, num_edges_to_create);
126126
build_rr_graph_edges_for_sink_nodes(rr_graph, rr_graph_builder, rr_node_driver_switches, grids, layer, num_edges_to_create);
127127

128-
vtr::Point<size_t> gsb_range(grids.width() - 1, grids.height() - 1);
128+
vtr::Point<size_t> gsb_range(grids.width() - 2, grids.height() - 2);
129+
if (perimeter_cb) {
130+
gsb_range.set(grids.width() - 1, grids.height() - 1);
131+
}
129132

130133
/* Go Switch Block by Switch Block */
131134
for (size_t ix = 0; ix <= gsb_range.x(); ++ix) {

0 commit comments

Comments
 (0)