diff options
Diffstat (limited to 'src/mem/xbar.hh')
-rw-r--r-- | src/mem/xbar.hh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mem/xbar.hh b/src/mem/xbar.hh index abe2a1096..0745ea5ac 100644 --- a/src/mem/xbar.hh +++ b/src/mem/xbar.hh @@ -413,10 +413,8 @@ class BaseXBar : public MemObject virtual void init(); /** A function used to return the port associated with this object. */ - BaseMasterPort& getMasterPort(const std::string& if_name, - PortID idx = InvalidPortID); - BaseSlavePort& getSlavePort(const std::string& if_name, - PortID idx = InvalidPortID); + Port &getPort(const std::string &if_name, + PortID idx=InvalidPortID) override; virtual void regStats(); |