From dd8153c7f9cd47df12033fcc1545949e31d47d6d Mon Sep 17 00:00:00 2001 From: James Cherry Date: Fri, 14 Jun 2019 21:03:11 -0700 Subject: [PATCH] Network::isLeaf --- network/ConcreteNetwork.hh | 1 + network/Network.hh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/network/ConcreteNetwork.hh b/network/ConcreteNetwork.hh index eb79afb7..6fe3e74e 100644 --- a/network/ConcreteNetwork.hh +++ b/network/ConcreteNetwork.hh @@ -232,6 +232,7 @@ public: using Network::libertyLibrary; using Network::libertyCell; using Network::libertyPort; + using Network::isLeaf; protected: void addLibrary(ConcreteLibrary *library); diff --git a/network/Network.hh b/network/Network.hh index 53fdff62..79c97381 100644 --- a/network/Network.hh +++ b/network/Network.hh @@ -289,7 +289,7 @@ public: virtual Net *net(const Pin *pin) const = 0; virtual Term *term(const Pin *pin) const = 0; virtual PortDirection *direction(const Pin *pin) const = 0; - bool isLeaf(const Pin *pin) const; + virtual bool isLeaf(const Pin *pin) const; bool isHierarchical(const Pin *pin) const; bool isTopLevelPort(const Pin *pin) const; // Is pin inside the instance hier_pin is attached to?