mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-29 17:28:57 +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:
@@ -119,6 +119,9 @@ public:
|
||||
ExceptionThruSeq *thrus,
|
||||
ExceptionTo *to,
|
||||
bool own_pts) = 0;
|
||||
void deleteInstance(const Instance *inst,
|
||||
const Network *network);
|
||||
|
||||
// Default handlers.
|
||||
virtual bool useEndClk() const { return false; }
|
||||
virtual int pathMultiplier() const { return 0; }
|
||||
@@ -414,14 +417,14 @@ public:
|
||||
Network *) {}
|
||||
virtual void disconnectPinBefore(const Pin *,
|
||||
Network *) {}
|
||||
void deleteInstance(const Instance *inst,
|
||||
const Network *network);
|
||||
|
||||
protected:
|
||||
virtual void findHash(const Network *network);
|
||||
|
||||
void deletePin(const Pin *pin,
|
||||
const Network *network);
|
||||
void deleteInstance(const Instance *inst,
|
||||
const Network *network);
|
||||
virtual const char *cmdKeyword() const = 0;
|
||||
|
||||
PinSet *pins_;
|
||||
@@ -536,6 +539,8 @@ public:
|
||||
Network *network);
|
||||
virtual void disconnectPinBefore(const Pin *pin,
|
||||
Network *network);
|
||||
void deleteInstance(const Instance *inst,
|
||||
const Network *network);
|
||||
|
||||
protected:
|
||||
void findHash(const Network *network);
|
||||
@@ -553,8 +558,6 @@ protected:
|
||||
void deleteEdge(const EdgePins &edge);
|
||||
void deleteNet(const Net *net,
|
||||
const Network *network);
|
||||
void deleteInstance(const Instance *inst,
|
||||
const Network *network);
|
||||
void makeAllEdges(const Network *network);
|
||||
void makePinEdges(const Network *network);
|
||||
void makeNetEdges(const Network *network);
|
||||
|
||||
@@ -216,6 +216,7 @@ public:
|
||||
// Build data structures for search.
|
||||
void searchPreamble();
|
||||
void deleteNetBefore(const Net *net);
|
||||
void deleteInstanceBefore(const Instance *inst);
|
||||
|
||||
// SWIG sdc interface.
|
||||
PortSeq allInputs(bool no_clks);
|
||||
|
||||
Reference in New Issue
Block a user