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/simple-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/simple-timing.py')
-rw-r--r-- | tests/configs/simple-timing.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/configs/simple-timing.py b/tests/configs/simple-timing.py index 5a851ba25..b366f01e5 100644 --- a/tests/configs/simple-timing.py +++ b/tests/configs/simple-timing.py @@ -37,7 +37,8 @@ cpu.addTwoLevelCacheHierarchy(L1Cache(size = '128kB'), L2Cache(size = '2MB')) system = System(cpu = cpu, physmem = SimpleMemory(), - membus = CoherentBus()) + membus = CoherentBus(), + mem_mode = "timing") system.system_port = system.membus.slave system.physmem.port = system.membus.master # create the interrupt controller |