mem: Clean up Memory Controller
authorWendy Elsasser <wendy.elsasser@arm.com>
Tue, 21 Jul 2020 04:09:21 +0000 (23:09 -0500)
committerJason Lowe-Power <power.jg@gmail.com>
Tue, 8 Sep 2020 16:38:47 +0000 (16:38 +0000)
commit7a28c82c6e62ba7e454cdd6e903d2abbea8d0bc2
tree1f7e7a47a93c907fe617e329215fa6cb86ce85cd
parentdab7c78ecad256fc7a721dfa7820d7f357eb8711
mem: Clean up Memory Controller

Make the actual controller more generic
    - Rename DRAMCtrl to MemCtrl
    - Rename DRAMacket to MemPacket
    - Rename dram_ctrl.cc to mem_ctrl.cc
    - Rename dram_ctrl.hh to mem_ctrl.hh
    - Create MemCtrl debug flag

Move the memory interface classes/functions to separate files
    - mem_interface.cc
    - mem_interface.hh

Change-Id: I1acba44c855776343e205e7733a7d8bbba92a82c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31654
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
27 files changed:
configs/common/MemConfig.py
configs/common/Options.py
configs/dram/lat_mem_rd.py
configs/dram/low_power_sweep.py
configs/dram/sweep.py
configs/example/memcheck.py
configs/learning_gem5/part1/simple.py
configs/learning_gem5/part1/two_level.py
configs/learning_gem5/part2/simple_cache.py
configs/learning_gem5/part2/simple_memobj.py
configs/learning_gem5/part3/simple_ruby.py
configs/nvm/sweep.py
configs/nvm/sweep_hybrid.py
configs/ruby/Ruby.py
src/mem/DRAMCtrl.py [deleted file]
src/mem/DRAMInterface.py
src/mem/MemCtrl.py [new file with mode: 0644]
src/mem/MemInterface.py
src/mem/NVMInterface.py
src/mem/SConscript
src/mem/dram_ctrl.cc [deleted file]
src/mem/dram_ctrl.hh [deleted file]
src/mem/mem_ctrl.cc [new file with mode: 0644]
src/mem/mem_ctrl.hh [new file with mode: 0644]
src/mem/mem_interface.cc [new file with mode: 0644]
src/mem/mem_interface.hh [new file with mode: 0644]
tests/gem5/configs/base_config.py