Skip to content

Commit

Permalink
Updating comment on buffer cell preconditions
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Mahintorabi <[email protected]>
  • Loading branch information
QuantamHD committed Feb 28, 2023
1 parent bc02b4e commit 8f034e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rsz/src/Resizer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1922,8 +1922,7 @@ Resizer::findMaxWireLength1()
continue;
}

// buffer_cells_ is asserted to be non-empty else where in resizer.
// so we should always have at least one buffer_cell.
// buffer_cells_ is required to be non-empty.
for (LibertyCell* buffer_cell : buffer_cells_) {
double buffer_length = findMaxWireLength(buffer_cell, corner);
max_length = min(max_length.value_or(INF), buffer_length);
Expand Down

0 comments on commit 8f034e2

Please sign in to comment.