Skip to content

Commit 9e07127

Browse files
committed
[vpr][place] fix comment
1 parent b1dd20b commit 9e07127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/compressed_grid.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ struct t_compressed_block_grid {
139139
// If all the compressed locations are less than loc, return the last compressed location
140140
return compressed_grid_dim.size() - 1;
141141
} else {
142-
// If we didn't find exact match, return the index of the closest compressed location
142+
// Find the nearest compressed location.
143143
int dist_prev = loc - *(itr - 1);
144144
int dist_next = *itr - loc;
145145
VTR_ASSERT_DEBUG(dist_prev > 0 && dist_next > 0);

0 commit comments

Comments
 (0)