Skip to content

Commit 8281c7b

Browse files
Bug fix: asymmetric grid with bidirectional routing
Replace grid.width() check with grid.height() for top perimeter channels
1 parent c1c1e3d commit 8281c7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/rr_graph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2565,7 +2565,7 @@ static void build_bidir_rr_opins(RRGraphBuilder& rr_graph_builder,
25652565
if ((i == 0 && side != RIGHT)
25662566
|| (i == int(grid.width() - 1) && side != LEFT)
25672567
|| (j == 0 && side != TOP)
2568-
|| (j == int(grid.width() - 1) && side != BOTTOM)) {
2568+
|| (j == int(grid.height() - 1) && side != BOTTOM)) {
25692569
return;
25702570
}
25712571

0 commit comments

Comments
 (0)