diff options
author | Nathan Binkert <nate@binkert.org> | 2008-06-15 21:39:29 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2008-06-15 21:39:29 -0700 |
commit | fa8f91fdc0609fb9cb8bcde22b440b40e52f1cc8 (patch) | |
tree | ac35da562aef0061f19a2960f9e88884d91d5332 /src/mem/PhysicalMemory.py | |
parent | e3c267a3dbe628516777dd74662c786ef4eedceb (diff) | |
download | gem5-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.py | 1 |
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' |