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.
1 parent b1dd20b commit 9e07127Copy full SHA for 9e07127
vpr/src/place/compressed_grid.h
@@ -139,7 +139,7 @@ struct t_compressed_block_grid {
139
// If all the compressed locations are less than loc, return the last compressed location
140
return compressed_grid_dim.size() - 1;
141
} else {
142
- // If we didn't find exact match, return the index of the closest compressed location
+ // Find the nearest compressed location.
143
int dist_prev = loc - *(itr - 1);
144
int dist_next = *itr - loc;
145
VTR_ASSERT_DEBUG(dist_prev > 0 && dist_next > 0);
0 commit comments