diff --git a/openfpga/src/fabric/build_tile_modules.cpp b/openfpga/src/fabric/build_tile_modules.cpp index ed4a7fe8e..3e53f07c1 100644 --- a/openfpga/src/fabric/build_tile_modules.cpp +++ b/openfpga/src/fabric/build_tile_modules.cpp @@ -599,7 +599,7 @@ static int build_tile_module_port_and_nets_between_sb_and_cb( /* Check if the grid is inside the tile, if not, create ports */ if (fabric_tile.cb_in_tile(fabric_tile_id, cb_type, - instance_cb_coordinate)) { + instance_gsb_cb_coordinate)) { if (!frame_view) { size_t cb_instance = cb_instances.at(cb_type)[fabric_tile.find_cb_index_in_tile( diff --git a/openfpga/src/fabric/build_top_module_child_tile_instance.cpp b/openfpga/src/fabric/build_top_module_child_tile_instance.cpp index bfe4fcea0..acd844766 100644 --- a/openfpga/src/fabric/build_top_module_child_tile_instance.cpp +++ b/openfpga/src/fabric/build_top_module_child_tile_instance.cpp @@ -816,7 +816,7 @@ static int build_top_module_tile_nets_between_sb_and_cb( /* Check if the grid is inside the tile, if not, create ports */ if (fabric_tile.cb_in_tile(curr_fabric_tile_id, cb_type, - instance_cb_coordinate)) { + instance_gsb_cb_coordinate)) { continue; } /* Collect cb tile information */