summaryrefslogtreecommitdiff
path: root/src/mem/DRAMCtrl.py
diff options
context:
space:
mode:
authorOmar Naji <Omar.Naji@arm.com>2016-10-13 19:22:10 +0100
committerOmar Naji <Omar.Naji@arm.com>2016-10-13 19:22:10 +0100
commitd19dc35b06e803b227531507805f317386c540e6 (patch)
treeca893cd9a01f9fc873b28b20dc97b58f097c36ad /src/mem/DRAMCtrl.py
parent20e6bb0140aa54429ce6ac069fd4c0a40fecf787 (diff)
downloadgem5-d19dc35b06e803b227531507805f317386c540e6.tar.xz
mem: add DRAM powerdown timing
Diffstat (limited to 'src/mem/DRAMCtrl.py')
-rw-r--r--src/mem/DRAMCtrl.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/mem/DRAMCtrl.py b/src/mem/DRAMCtrl.py
index 81d0b7581..a1d9e2707 100644
--- a/src/mem/DRAMCtrl.py
+++ b/src/mem/DRAMCtrl.py
@@ -370,6 +370,12 @@ class DDR3_1600_x64(DRAMCtrl):
# <=85C, half for >85C
tREFI = '7.8us'
+ # active powerdown and precharge powerdown exit time
+ tXP = '6ns'
+
+ # self refresh exit time
+ tXS = '270ns'
+
# Current values from datasheet
IDD0 = '75mA'
IDD2N = '50mA'
@@ -591,6 +597,12 @@ class DDR4_2400_x64(DRAMCtrl):
# <=85C, half for >85C
tREFI = '7.8us'
+ # active powerdown and precharge powerdown exit time
+ tXP = '6ns'
+
+ # self refresh exit time
+ tXS = '120ns'
+
# Current values from datasheet
IDD0 = '70mA'
IDD02 = '4.6mA'
@@ -659,6 +671,12 @@ class LPDDR2_S4_1066_x32(DRAMCtrl):
tRFC = '130ns'
tREFI = '3.9us'
+ # active powerdown and precharge powerdown exit time
+ tXP = '7.5ns'
+
+ # self refresh exit time
+ tXS = '140ns'
+
# Irrespective of speed grade, tWTR is 7.5 ns
tWTR = '7.5ns'
@@ -815,6 +833,12 @@ class LPDDR3_1600_x32(DRAMCtrl):
tRFC = '130ns'
tREFI = '3.9us'
+ # active powerdown and precharge powerdown exit time
+ tXP = '7.5ns'
+
+ # self refresh exit time
+ tXS = '140ns'
+
# Irrespective of speed grade, tWTR is 7.5 ns
tWTR = '7.5ns'
@@ -1057,3 +1081,9 @@ class HBM_1000_4H_x64(HBM_1000_4H_x128):
# Default different rank bus delay to 2 CK, @1000 MHz = 2 ns
tCS = '2ns'
tREFI = '3.9us'
+
+ # active powerdown and precharge powerdown exit time
+ tXP = '10ns'
+
+ # self refresh exit time
+ tXS = '65ns'