From 5d12f499f0adbf968f5d48662fe2337c7365db57 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Sun, 29 Mar 2020 16:26:23 -0600 Subject: [PATCH] hotfix on undriven pins on the connection blocks --- vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_unique_routing.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_unique_routing.c b/vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_unique_routing.c index c2f520d4d..d3f3539e5 100644 --- a/vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_unique_routing.c +++ b/vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_unique_routing.c @@ -1149,6 +1149,11 @@ RRGSB build_rr_gsb(DeviceCoordinator& device_range, LL_num_rr_nodes, LL_rr_node, LL_rr_node_indices); /* Fill the ipin nodes of RRGSB */ for (int inode = 0; inode < num_temp_ipin_rr_nodes; ++inode) { + /* Skip Fc = 0 pins, they should NOT appear in the GSB connection */ + if (0. == grid[temp_ipin_rr_node[inode]->xlow][temp_ipin_rr_node[inode]->ylow].type->Fc[temp_ipin_rr_node[inode]->ptc_num]) { + continue; + } + rr_gsb.add_ipin_node(temp_ipin_rr_node[inode], side_manager.get_side(), ipin_rr_node_grid_side); } /* Free */