diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2013-01-07 13:05:33 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2013-01-07 13:05:33 -0500 |
commit | 90bd20aae2bc940397628a4598b5b25f2c8549b5 (patch) | |
tree | 27c6eee6bc5609d191ada2ae1a3b30cf9d5d8950 /tests/configs/o3-timing.py | |
parent | f32f372455c99bf5765f5fda3efc7da180dfcda8 (diff) | |
download | gem5-90bd20aae2bc940397628a4598b5b25f2c8549b5.tar.xz |
tests: Always specify memory mode in every test system.
Previous to this change we didn't always set the memory mode which worked as
long as we never attempted to switch CPUs or checked that a CPU was in a
memory system with the correct mode. Future changes will make CPUs verify
that they're operating in the correct mode and thus we need to always set it.
Diffstat (limited to 'tests/configs/o3-timing.py')
-rw-r--r-- | tests/configs/o3-timing.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/configs/o3-timing.py b/tests/configs/o3-timing.py index 30c2f413e..474d13902 100644 --- a/tests/configs/o3-timing.py +++ b/tests/configs/o3-timing.py @@ -42,7 +42,8 @@ cpu.clock = '2GHz' system = System(cpu = cpu, physmem = SimpleDRAM(), - membus = CoherentBus()) + membus = CoherentBus(), + mem_mode = "timing") system.system_port = system.membus.slave system.physmem.port = system.membus.master # create the interrupt controller |