Skip to content

Commit d8bc2bf

Browse files
committed
rsz: Remove parasitics ops from unbuffer utility
Invalidating parasitics happens transparently through ODB callbacks. Updating parasitics should be left to the caller to manage. There are three users of this helper today: * remove_buffers user command * repair_setup unbuffer move * rebuffering code All are accounted for with this change. Signed-off-by: Martin Povišer <[email protected]>
1 parent fb6e4f1 commit d8bc2bf

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/rsz/src/Resizer.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ void Resizer::removeBuffers(sta::InstanceSeq insts)
423423
}
424424
}
425425
unbuffer_move_->commitMoves();
426+
estimate_parasitics_->updateParasitics();
426427
level_drvr_vertices_valid_ = false;
427428
logger_->info(RSZ, 26, "Removed {} buffers.", unbuffer_move_->numMoves());
428429
}

src/rsz/src/UnbufferMove.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -468,10 +468,6 @@ void UnbufferMove::removeBuffer(Instance* buffer)
468468
db_survivor->rename(new_net_name->c_str());
469469
}
470470
}
471-
472-
estimate_parasitics_->removeNetFromParasiticsInvalid(removed);
473-
estimate_parasitics_->parasiticsInvalid(survivor);
474-
estimate_parasitics_->updateParasitics();
475471
}
476472

477473
} // namespace rsz

0 commit comments

Comments
 (0)