summaryrefslogtreecommitdiff
path: root/src/mem/simple_dram.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-11-01 11:56:24 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2013-11-01 11:56:24 -0400
commitee6b41a1e41656b15f9f77bff5effbba27133603 (patch)
treeae080814212126754b99956b773ef710dbbcd2af /src/mem/simple_dram.hh
parent491d3a77cfe90b21c83304a2d4a5af54c909c916 (diff)
downloadgem5-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/simple_dram.hh')
-rw-r--r--src/mem/simple_dram.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mem/simple_dram.hh b/src/mem/simple_dram.hh
index c97f70e1d..dfb8fc15f 100644
--- a/src/mem/simple_dram.hh
+++ b/src/mem/simple_dram.hh
@@ -420,7 +420,7 @@ class SimpleDRAM : public AbstractMemory
* method updates the time that the banks become available based
* on the current limits.
*/
- void recordActivate(Tick act_tick, uint8_t rank);
+ void recordActivate(Tick act_tick, uint8_t rank, uint8_t bank);
void printParams() const;
void printQs() const;
@@ -487,6 +487,7 @@ class SimpleDRAM : public AbstractMemory
const Tick tRAS;
const Tick tRFC;
const Tick tREFI;
+ const Tick tRRD;
const Tick tXAW;
const uint32_t activationLimit;