Skip to content

Commit ee7f952

Browse files
authored
Merge pull request #3267 from verilog-to-routing/flatRecon_result_collection
FlatRecon Result Collection
2 parents 7a678a6 + e4dff26 commit ee7f952

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vpr/src/analytical_place/full_legalizer.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ FlatRecon::neighbor_clustering(ClusterLegalizer& cluster_legalizer,
492492
if (cluster_legalizer.is_mol_clustered(molecule_id))
493493
continue;
494494

495-
// Get 8-neighbouring tile locations of the current molecule in the same layer and same type.
495+
// Get 8-neighbouring tile locations of the current molecule in the same layer.
496496
std::vector<t_physical_tile_loc> neighbor_tile_locs;
497497
neighbor_tile_locs.reserve(8);
498498
auto [layers, width, height] = device_grid_.dim_sizes();
@@ -502,8 +502,6 @@ FlatRecon::neighbor_clustering(ClusterLegalizer& cluster_legalizer,
502502
int neighbor_x = loc.x + dx, neighbor_y = loc.y + dy;
503503
if (neighbor_x < 0 || neighbor_x >= (int)width || neighbor_y < 0 || neighbor_y >= (int)height)
504504
continue;
505-
if (device_grid_.get_physical_type(loc) != device_grid_.get_physical_type({neighbor_x, neighbor_y, loc.layer_num}))
506-
continue;
507505
neighbor_tile_locs.push_back({neighbor_x, neighbor_y, loc.layer_num});
508506
}
509507
}

0 commit comments

Comments
 (0)