diff options
Diffstat (limited to 'python/m5')
-rw-r--r-- | python/m5/objects/MemObject.py | 5 | ||||
-rw-r--r-- | python/m5/objects/PhysicalMemory.py | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/python/m5/objects/MemObject.py b/python/m5/objects/MemObject.py new file mode 100644 index 000000000..4d68243e6 --- /dev/null +++ b/python/m5/objects/MemObject.py @@ -0,0 +1,5 @@ +from m5 import * + +class MemObject(SimObject): + type = 'MemObject' + abstract = True diff --git a/python/m5/objects/PhysicalMemory.py b/python/m5/objects/PhysicalMemory.py index f50937ee6..ab2714a6f 100644 --- a/python/m5/objects/PhysicalMemory.py +++ b/python/m5/objects/PhysicalMemory.py @@ -1,7 +1,7 @@ from m5 import * -from FunctionalMemory import FunctionalMemory +from Memory import Memory -class PhysicalMemory(FunctionalMemory): +class PhysicalMemory(Memory): type = 'PhysicalMemory' range = Param.AddrRange("Device Address") file = Param.String('', "memory mapped file") |