summaryrefslogtreecommitdiff
path: root/src/mem/PhysicalMemory.py
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2008-06-15 21:39:29 -0700
committerNathan Binkert <nate@binkert.org>2008-06-15 21:39:29 -0700
commitfa8f91fdc0609fb9cb8bcde22b440b40e52f1cc8 (patch)
treeac35da562aef0061f19a2960f9e88884d91d5332 /src/mem/PhysicalMemory.py
parente3c267a3dbe628516777dd74662c786ef4eedceb (diff)
downloadgem5-fa8f91fdc0609fb9cb8bcde22b440b40e52f1cc8.tar.xz
physmem: Add a null option to physical memory so it doesn't store data.
Diffstat (limited to 'src/mem/PhysicalMemory.py')
-rw-r--r--src/mem/PhysicalMemory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mem/PhysicalMemory.py b/src/mem/PhysicalMemory.py
index 4e8a830de..e512cea1c 100644
--- a/src/mem/PhysicalMemory.py
+++ b/src/mem/PhysicalMemory.py
@@ -38,6 +38,7 @@ class PhysicalMemory(MemObject):
latency = Param.Latency('1t', "latency of an access")
latency_var = Param.Latency('0ns', "access variablity")
zero = Param.Bool(False, "zero initialize memory")
+ null = Param.Bool(False, "do not store data, always return zero")
class DRAMMemory(PhysicalMemory):
type = 'DRAMMemory'