diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-11-01 11:56:24 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-11-01 11:56:24 -0400 |
commit | ee6b41a1e41656b15f9f77bff5effbba27133603 (patch) | |
tree | ae080814212126754b99956b773ef710dbbcd2af /src/mem/SimpleDRAM.py | |
parent | 491d3a77cfe90b21c83304a2d4a5af54c909c916 (diff) | |
download | gem5-ee6b41a1e41656b15f9f77bff5effbba27133603.tar.xz |
mem: Add tRRD as a timing parameter for the DRAM controller
This patch adds the tRRD parameter to the DRAM controller. With the
recent addition of the actAllowedAt member for each bank, this
addition is trivial.
Diffstat (limited to 'src/mem/SimpleDRAM.py')
-rw-r--r-- | src/mem/SimpleDRAM.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mem/SimpleDRAM.py b/src/mem/SimpleDRAM.py index 8de210641..81bb0ff42 100644 --- a/src/mem/SimpleDRAM.py +++ b/src/mem/SimpleDRAM.py @@ -135,6 +135,9 @@ class SimpleDRAM(AbstractMemory): # write-to-read turn around penalty, assumed same as read-to-write tWTR = Param.Latency("Write to read switching time") + # minimum row activate to row activate delay time + tRRD = Param.Latency("ACT to ACT delay") + # time window in which a maximum number of activates are allowed # to take place, set to 0 to disable tXAW = Param.Latency("X activation window") @@ -187,6 +190,9 @@ class DDR3_1600_x64(SimpleDRAM): # Greater of 4 CK or 7.5 ns, 4 CK @ 800 MHz = 5 ns tWTR = '7.5ns' + # Assume 5 CK for activate to activate for different banks + tRRD = '6.25ns' + # With a 2kbyte page size, DDR3-1600 lands around 40 ns tXAW = '40ns' activation_limit = 4 @@ -239,6 +245,9 @@ class LPDDR2_S4_1066_x32(SimpleDRAM): # Irrespective of speed grade, tWTR is 7.5 ns tWTR = '7.5ns' + # Activate to activate irrespective of density and speed grade + tRRD = '10.0ns' + # Irrespective of density, tFAW is 50 ns tXAW = '50ns' activation_limit = 4 @@ -284,6 +293,9 @@ class WideIO_200_x128(SimpleDRAM): # Greater of 2 CK or 15 ns, 2 CK @ 200 MHz = 10 ns tWTR = '15ns' + # Activate to activate irrespective of density and speed grade + tRRD = '10.0ns' + # Two instead of four activation window tXAW = '50ns' activation_limit = 2 @@ -335,6 +347,9 @@ class LPDDR3_1600_x32(SimpleDRAM): # Irrespective of speed grade, tWTR is 7.5 ns tWTR = '7.5ns' + # Activate to activate irrespective of density and speed grade + tRRD = '10.0ns' + # Irrespective of size, tFAW is 50 ns tXAW = '50ns' activation_limit = 4 |