Skip to content

Commit fe99d5e

Browse files
committed
[vpr][place] search for another column if block is not io and lower_bound is above search range min
1 parent 2dc79c9 commit fe99d5e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vpr/src/place/move_utils.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,13 @@ bool find_compatible_compressed_loc_in_range(t_logical_block_type_ptr type,
10371037
continue;
10381038
}
10391039
auto y_upper_iter = block_rows.upper_bound(search_range.ymax);
1040+
1041+
if (y_lower_iter->first > search_range.ymin) {
1042+
if (!is_io_type(type)) {
1043+
continue;
1044+
}
1045+
}
1046+
10401047
int y_range = std::distance(y_lower_iter, y_upper_iter);
10411048
VTR_ASSERT(y_range >= 0);
10421049

0 commit comments

Comments
 (0)