diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2014-03-23 11:12:12 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2014-03-23 11:12:12 -0400 |
commit | 7c18691db1bc450b04142502e5c324ad612318ab (patch) | |
tree | 10083265e3854227c8946f861db127c7d783f2e0 /configs/dram | |
parent | 3dd1587afc48e8d2b870253de689bbe7262fcbe6 (diff) | |
download | gem5-7c18691db1bc450b04142502e5c324ad612318ab.tar.xz |
mem: Rename SimpleDRAM to a more suitable DRAMCtrl
This patch renames the not-so-simple SimpleDRAM to a more suitable
DRAMCtrl. The name change is intended to ensure that we do not send
the wrong message (although the "simple" in SimpleDRAM was originally
intended as in cleverly simple, or elegant).
As the DRAM controller modelling work is being presented at ISPASS'14
our hope is that a broader audience will use the model in the future.
--HG--
rename : src/mem/SimpleDRAM.py => src/mem/DRAMCtrl.py
rename : src/mem/simple_dram.cc => src/mem/dram_ctrl.cc
rename : src/mem/simple_dram.hh => src/mem/dram_ctrl.hh
Diffstat (limited to 'configs/dram')
-rw-r--r-- | configs/dram/sweep.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/dram/sweep.py b/configs/dram/sweep.py index 41b92d938..5981d59dd 100644 --- a/configs/dram/sweep.py +++ b/configs/dram/sweep.py @@ -86,8 +86,8 @@ MemConfig.config_mem(options, system) # the following assumes that we are using the native DRAM # controller, check to be sure -if not isinstance(system.mem_ctrls[0], m5.objects.SimpleDRAM): - fatal("This script assumes the memory is a SimpleDRAM subclass") +if not isinstance(system.mem_ctrls[0], m5.objects.DRAMCtrl): + fatal("This script assumes the memory is a DRAMCtrl subclass") # for now the generator assumes a single rank system.mem_ctrls[0].ranks_per_channel = 1 |