summaryrefslogtreecommitdiff
path: root/python/m5/objects/PhysicalMemory.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/m5/objects/PhysicalMemory.py')
-rw-r--r--python/m5/objects/PhysicalMemory.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/m5/objects/PhysicalMemory.py b/python/m5/objects/PhysicalMemory.py
index b69c969cb..e59e94e9b 100644
--- a/python/m5/objects/PhysicalMemory.py
+++ b/python/m5/objects/PhysicalMemory.py
@@ -1,7 +1,8 @@
from m5 import *
-from Memory import Memory
+from MemObject import *
-class PhysicalMemory(Memory):
+class PhysicalMemory(MemObject):
type = 'PhysicalMemory'
range = Param.AddrRange("Device Address")
file = Param.String('', "memory mapped file")
+ latency = Param.Latency('10ns', "latency of an access")