mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-01 10:27:10 +02:00
write_sdc crash after delete instance resolves #248
commit 3b7eba13dcfc90dc8f8b0b6c3959c9253c302eae Author: James Cherry <[email protected]> Date: Thu May 29 14:05:39 2025 -0700 write_sdc crash after delete instance resolves #248 Signed-off-by: James Cherry <[email protected]> Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
@@ -458,6 +458,20 @@ thrusIntersectPts(ExceptionThruSeq *thrus1,
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
ExceptionPath::deleteInstance(const Instance *inst,
|
||||
const Network *network)
|
||||
{
|
||||
if (from_)
|
||||
from_->deleteInstance(inst, network);
|
||||
if (thrus_) {
|
||||
for (ExceptionThru *thru : *thrus_)
|
||||
thru->deleteInstance(inst, network);
|
||||
}
|
||||
if (to_)
|
||||
to_->deleteInstance(inst, network);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
PathDelay::PathDelay(ExceptionFrom *from,
|
||||
|
||||
Reference in New Issue
Block a user