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:
James Cherry
2025-05-31 11:12:59 -07:00
parent 79c90c3c70
commit 0b59461bdd
5 changed files with 42 additions and 4 deletions
+14
View File
@@ -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,