mem-cache: Add match functions to QueueEntry
[gem5.git] / src / mem / dramsim2.cc
index 6fe8543644c8c34dccfc4f0fb254a5a95762b746..f0c61212065883c3298badf9f8fa7c217cc955ca 100644 (file)
@@ -336,11 +336,11 @@ void DRAMSim2::writeComplete(unsigned id, uint64_t addr, uint64_t cycle)
         signalDrainDone();
 }
 
-BaseSlavePort&
-DRAMSim2::getSlavePort(const std::string &if_name, PortID idx)
+Port &
+DRAMSim2::getPort(const std::string &if_name, PortID idx)
 {
     if (if_name != "port") {
-        return MemObject::getSlavePort(if_name, idx);
+        return MemObject::getPort(if_name, idx);
     } else {
         return port;
     }