Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e6b7e7d

Browse files
authoredJul 13, 2024··
Update tileable_rr_graph_edge_builder.cpp
1 parent abaec29 commit e6b7e7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎vpr/src/tileable_rr_graph/tileable_rr_graph_edge_builder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ void build_rr_graph_edges(const RRGraphView& rr_graph,
209209
size_t ix, iy;
210210
// process top boundary
211211
iy = grids.height() - 1;
212-
for (ix = 0; ix < grids.width() - 2; ++ix) {
212+
for (ix = 0; ix < grids.width() - 1; ++ix) {
213213
vtr::Point<size_t> actual_coord(ix, iy);
214214
vtr::Point<size_t> gsb_coord(ix, iy - 1);
215215

@@ -236,7 +236,7 @@ void build_rr_graph_edges(const RRGraphView& rr_graph,
236236

237237
// process right boundary
238238
ix = grids.width() - 1;
239-
for (iy = 0; iy < grids.height() - 2; ++iy) {
239+
for (iy = 0; iy < grids.height() - 1; ++iy) {
240240
vtr::Point<size_t> actual_coord(ix, iy);
241241
vtr::Point<size_t> gsb_coord(ix - 1, iy);
242242

0 commit comments

Comments
 (0)
Please sign in to comment.