summaryrefslogtreecommitdiff
path: root/configs/example/rubytest.py
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-08-20 11:46:11 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-08-20 11:46:11 -0700
commit10e25cb1d05bd04e177cfa44a0c529af01acfad8 (patch)
tree5cc47d8b9cbb444bfc171d11998ad16dd7df47ba /configs/example/rubytest.py
parent09854be558db4eae912efd3ff3b6ab4d35261c27 (diff)
downloadgem5-10e25cb1d05bd04e177cfa44a0c529af01acfad8.tar.xz
config: Improve ruby simobject names
This patch attaches ruby objects to the system before the topology is created so that their simobject names read their meaningful variable names instead of their topology name.
Diffstat (limited to 'configs/example/rubytest.py')
-rw-r--r--configs/example/rubytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/rubytest.py b/configs/example/rubytest.py
index 2a789c979..a4daf6b82 100644
--- a/configs/example/rubytest.py
+++ b/configs/example/rubytest.py
@@ -92,7 +92,7 @@ tester = RubyTester(checks_to_complete = options.checks,
#
system = System(physmem = PhysicalMemory())
-system.ruby = Ruby.create_system(options, system.physmem)
+system.ruby = Ruby.create_system(options, system)
assert(options.num_cpus == len(system.ruby.cpu_ruby_ports))