summaryrefslogtreecommitdiff
path: root/tests/configs/memtest-ruby.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-03-06 21:53:57 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2013-03-06 21:53:57 -0600
commitc0618198908b592ff0c165b671cb5d8d785d83ca (patch)
tree96b98dbf6262a9f417c7d53ef59c09ff56018e2c /tests/configs/memtest-ruby.py
parente8802fa127f5a446e708eb9f7ce8509e850bf699 (diff)
downloadgem5-c0618198908b592ff0c165b671cb5d8d785d83ca.tar.xz
ruby: remove the functional copy of memory in se mode
This patch removes the functional copy of the memory that was maintained in the se mode. Now ruby itself will provide the data.
Diffstat (limited to 'tests/configs/memtest-ruby.py')
-rw-r--r--tests/configs/memtest-ruby.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/configs/memtest-ruby.py b/tests/configs/memtest-ruby.py
index 397e9f0c7..a252bc881 100644
--- a/tests/configs/memtest-ruby.py
+++ b/tests/configs/memtest-ruby.py
@@ -79,8 +79,8 @@ options.num_cpus = nb_cores
# system simulated
system = System(cpu = cpus,
funcmem = SimpleMemory(in_addr_map = False),
- funcbus = NoncoherentBus(),
- physmem = SimpleMemory())
+ physmem = SimpleMemory(null = True),
+ funcbus = NoncoherentBus())
Ruby.create_system(options, system)
@@ -100,12 +100,6 @@ for (i, ruby_port) in enumerate(system.ruby._cpu_ruby_ports):
#
ruby_port.deadlock_threshold = 1000000
- #
- # Ruby doesn't need the backing image of memory when running with
- # the tester.
- #
- ruby_port.access_phys_mem = False
-
# connect reference memory to funcbus
system.funcmem.port = system.funcbus.master