diff --git a/vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_utils.c b/vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_utils.c index af9a3d152..ac0072342 100644 --- a/vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_utils.c +++ b/vpr7_x2p/vpr/SRC/fpga_x2p/base/fpga_x2p_utils.c @@ -3136,7 +3136,7 @@ boolean is_cb_exist(t_rr_type cb_type, /* Check the grid under this CB */ if ((NULL == grid[cb_x][cb_y].type) ||(EMPTY_TYPE == grid[cb_x][cb_y].type) - ||(1 < grid[cb_x][cb_y].type->height)) { + ||!(grid[cb_x][cb_y].offset + 1 == grid[cb_x][cb_y].type->height)) { cb_exist = FALSE; } break;