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.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/m5/objects/PhysicalMemory.py b/python/m5/objects/PhysicalMemory.py
index f50937ee6..b0aba1a7d 100644
--- a/python/m5/objects/PhysicalMemory.py
+++ b/python/m5/objects/PhysicalMemory.py
@@ -1,8 +1,9 @@
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")
- mmu = Param.MemoryController(Parent.any, "Memory Controller")
+ if build_env['FULL_SYSTEM']:
+ mmu = Param.MemoryController(Parent.any, "Memory Controller")