summaryrefslogtreecommitdiff
path: root/src/mem/PhysicalMemory.py
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2012-03-30 12:57:48 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2012-03-30 12:57:48 -0400
commit74043c4f5c6f4b4d43c518f47da4cd1bd68b9e08 (patch)
treec2da6f291c42463e6cb0adb4d59a275c97ac33f1 /src/mem/PhysicalMemory.py
parenta128ba7cd1ab506e3468c82c1060a7fb4ad909b1 (diff)
downloadgem5-74043c4f5c6f4b4d43c518f47da4cd1bd68b9e08.tar.xz
MEM: Remove legacy DRAM in preparation for memory updates
This patch removes the DRAM memory class in preparation for updates to the memory system, with the first one introducing an abstract memory class, and removing the assumption of a single physical memory.
Diffstat (limited to 'src/mem/PhysicalMemory.py')
-rw-r--r--src/mem/PhysicalMemory.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/mem/PhysicalMemory.py b/src/mem/PhysicalMemory.py
index c5f80b4c9..756117972 100644
--- a/src/mem/PhysicalMemory.py
+++ b/src/mem/PhysicalMemory.py
@@ -39,21 +39,3 @@ class PhysicalMemory(MemObject):
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'
- # Many of these should be observed from the configuration
- cpu_ratio = Param.Int(5,"ratio between CPU speed and memory bus speed")
- mem_type = Param.String("SDRAM", "Type of DRAM (DRDRAM, SDRAM)")
- mem_actpolicy = Param.String("open", "Open/Close policy")
- memctrladdr_type = Param.String("interleaved", "Mapping interleaved or direct")
- bus_width = Param.Int(16, "")
- act_lat = Param.Latency("2ns", "RAS to CAS delay")
- cas_lat = Param.Latency("1ns", "CAS delay")
- war_lat = Param.Latency("2ns", "write after read delay")
- pre_lat = Param.Latency("2ns", "precharge delay")
- dpl_lat = Param.Latency("2ns", "data in to precharge delay")
- trc_lat = Param.Latency("6ns", "row cycle delay")
- num_banks = Param.Int(4, "Number of Banks")
- num_cpus = Param.Int(4, "Number of CPUs connected to DRAM")
-