We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9551b91 + 5cf005b commit 4e64cd7Copy full SHA for 4e64cd7
vpr/src/place/initial_placement.cpp
@@ -330,8 +330,9 @@ static t_physical_tile_type_ptr pick_placement_type(t_logical_block_type_ptr log
330
std::vector<std::vector<int>>& free_locations) {
331
// Loop through the ordered map to get tiles in a decreasing priority order
332
for (auto& tile : logical_block->equivalent_tiles) {
333
- for (auto sub_tile : tile->sub_tiles) {
334
- if (free_locations[tile->index][sub_tile.index] >= num_needed_types) {
+ auto possible_sub_tiles = get_possible_sub_tile_indices(tile, logical_block);
+ for (auto sub_tile_index : possible_sub_tiles) {
335
+ if (free_locations[tile->index][sub_tile_index] >= num_needed_types) {
336
return tile;
337
}
338
0 commit comments