From 7fadb5fb460785a4cbf186ab583a6069bf7dd16a Mon Sep 17 00:00:00 2001 From: James Cherry Date: Mon, 13 Mar 2023 10:13:42 -0700 Subject: [PATCH] ConcreteNetwork republic setTopInstance Signed-off-by: James Cherry --- include/sta/ConcreteNetwork.hh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/sta/ConcreteNetwork.hh b/include/sta/ConcreteNetwork.hh index 3efe72a5..a07c4082 100644 --- a/include/sta/ConcreteNetwork.hh +++ b/include/sta/ConcreteNetwork.hh @@ -230,6 +230,10 @@ public: void setLinkFunc(LinkNetworkFunc *link) override; static ObjectId nextObjectId(); + // Used by external tools. + void setTopInstance(Instance *top_inst); + void deleteTopInstance(); + using Network::netIterator; using Network::findPin; using Network::findNet; @@ -240,8 +244,6 @@ public: using Network::isLeaf; protected: - void setTopInstance(Instance *top_inst); - void deleteTopInstance(); void addLibrary(ConcreteLibrary *library); void setName(const char *name); void clearConstantNets();