summaryrefslogtreecommitdiff
path: root/src/mem/addr_mapper.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/addr_mapper.hh')
-rw-r--r--src/mem/addr_mapper.hh7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mem/addr_mapper.hh b/src/mem/addr_mapper.hh
index 6765638e9..6b47cfcb8 100644
--- a/src/mem/addr_mapper.hh
+++ b/src/mem/addr_mapper.hh
@@ -62,11 +62,8 @@ class AddrMapper : public MemObject
virtual ~AddrMapper() { }
- virtual BaseMasterPort& getMasterPort(const std::string& if_name,
- PortID idx = InvalidPortID);
-
- virtual BaseSlavePort& getSlavePort(const std::string& if_name,
- PortID idx = InvalidPortID);
+ Port &getPort(const std::string &if_name,
+ PortID idx=InvalidPortID) override;
virtual void init();