From 7206cafc0e0ad47105c7bbc30396c1cef7693e17 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Fri, 4 Dec 2020 17:18:02 -0700 Subject: [PATCH] [Tool] Minor bug fix --- vpr/src/tileable_rr_graph/rr_graph_builder_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vpr/src/tileable_rr_graph/rr_graph_builder_utils.cpp b/vpr/src/tileable_rr_graph/rr_graph_builder_utils.cpp index 770285179..f50c22f14 100644 --- a/vpr/src/tileable_rr_graph/rr_graph_builder_utils.cpp +++ b/vpr/src/tileable_rr_graph/rr_graph_builder_utils.cpp @@ -115,7 +115,7 @@ size_t get_grid_num_pins(const t_grid_tile& cur_grid, for (const e_side& side : {TOP, RIGHT, BOTTOM, LEFT}) { /* skip unwanted sides */ if ( (true == is_io_type(cur_grid.type)) - && (side != io_side) ) { + && (side != io_side) && (NUM_SIDES != io_side)) { continue; } /* Get pin list */