cpu: Make use of DRAMCtrl::AddrMap in the traffic generators
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Thu, 12 Sep 2019 13:36:52 +0000 (14:36 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 30 Sep 2019 20:36:30 +0000 (20:36 +0000)
commit4c4520ca00fd5ca87bba31544442cbb5e2db1df5
tree81b599acac6737bcc52d122613f59c04165057dd
parent772ca27a97239208d5eafb795c7ec92863d671ee
cpu: Make use of DRAMCtrl::AddrMap in the traffic generators

Use the enum defined in the memory controller rather than custom
strings and int that are later converted to the DRAMCtrl::AddrMap
enum.

Change-Id: Ie5b19f915f9990fd2b7505d4d1b17b6fc2100f9e
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21080
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
configs/dram/low_power_sweep.py
configs/dram/sweep.py
src/cpu/testers/traffic_gen/base.cc
src/cpu/testers/traffic_gen/base.hh
src/cpu/testers/traffic_gen/dram_gen.cc
src/cpu/testers/traffic_gen/dram_gen.hh
src/cpu/testers/traffic_gen/dram_rot_gen.cc
src/cpu/testers/traffic_gen/dram_rot_gen.hh
src/cpu/testers/traffic_gen/traffic_gen.cc