The-OpenROAD-Project / OpenSTA

OpenSTA engine
GNU General Public License v3.0
404 stars 173 forks source link

copy should handle makeCornersAfter #142

Closed maliberty closed 1 month ago

maliberty commented 1 year ago

In Resizer::cellWireDelay I had to add the call to makeCornersAfter after copy:

  corners->copy(sta_->corners());
  sta->sdc()->makeCornersAfter(corners);

without that sta fails as the extra corners added by the copy were not handled by sdc. I think copy should handle this automatically.