diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-08-20 11:46:11 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-08-20 11:46:11 -0700 |
commit | 10e25cb1d05bd04e177cfa44a0c529af01acfad8 (patch) | |
tree | 5cc47d8b9cbb444bfc171d11998ad16dd7df47ba /configs/example/ruby_se.py | |
parent | 09854be558db4eae912efd3ff3b6ab4d35261c27 (diff) | |
download | gem5-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/ruby_se.py')
-rw-r--r-- | configs/example/ruby_se.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/ruby_se.py b/configs/example/ruby_se.py index 7a55e1513..a0e839bae 100644 --- a/configs/example/ruby_se.py +++ b/configs/example/ruby_se.py @@ -150,7 +150,7 @@ np = options.num_cpus system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 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)) |