summaryrefslogtreecommitdiff
path: root/src/mem/dramsim2.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/dramsim2.hh')
-rw-r--r--src/mem/dramsim2.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/dramsim2.hh b/src/mem/dramsim2.hh
index 6444f75d6..2fd140bb4 100644
--- a/src/mem/dramsim2.hh
+++ b/src/mem/dramsim2.hh
@@ -191,8 +191,8 @@ class DRAMSim2 : public AbstractMemory
DrainState drain() override;
- virtual BaseSlavePort& getSlavePort(const std::string& if_name,
- PortID idx = InvalidPortID) override;
+ Port &getPort(const std::string &if_name,
+ PortID idx=InvalidPortID) override;
void init() override;
void startup() override;