summaryrefslogtreecommitdiff
path: root/mem/mem_object.hh
diff options
context:
space:
mode:
Diffstat (limited to 'mem/mem_object.hh')
-rw-r--r--mem/mem_object.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/mem/mem_object.hh b/mem/mem_object.hh
index c6c5076e8..634fb164a 100644
--- a/mem/mem_object.hh
+++ b/mem/mem_object.hh
@@ -41,9 +41,14 @@
* The base MemoryObject class, allows for an accesor function to a
* simobj that returns the Port.
*/
-class MemoryObject : public SimObject
+class MemObject : public SimObject
{
public:
+ MemObject(const std::string &name)
+ : SimObject(name)
+ {};
+
+ public:
/** Additional function to return the Port of a memory object. */
virtual Port *getPort(const char *if_name) = 0;
};