diff options
author | Nathan Binkert <nate@binkert.org> | 2009-07-06 15:49:47 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2009-07-06 15:49:47 -0700 |
commit | da704f52e55dd2649e53bf233f948c897727f13d (patch) | |
tree | 150514b6e67a108c56ad771adeb908713b06df65 /tests/configs/simple-atomic-mp-ruby.py | |
parent | a7904e2cf341d5452c5622adfcbdcd268d4ab7d1 (diff) | |
download | gem5-da704f52e55dd2649e53bf233f948c897727f13d.tar.xz |
ruby: Fix RubyMemory to work with the newer ruby.
Diffstat (limited to 'tests/configs/simple-atomic-mp-ruby.py')
-rw-r--r-- | tests/configs/simple-atomic-mp-ruby.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/configs/simple-atomic-mp-ruby.py b/tests/configs/simple-atomic-mp-ruby.py index c03ede9b1..1b60418d0 100644 --- a/tests/configs/simple-atomic-mp-ruby.py +++ b/tests/configs/simple-atomic-mp-ruby.py @@ -33,9 +33,11 @@ from m5.objects import * nb_cores = 4 cpus = [ AtomicSimpleCPU(cpu_id=i) for i in xrange(nb_cores) ] +import ruby_config +ruby_memory = ruby_config.generate("MI_example-homogeneous.rb", nb_cores) + # system simulated -system = System(cpu = cpus, physmem = RubyMemory(num_cpus=nb_cores), - membus = Bus()) +system = System(cpu = cpus, physmem = ruby_memory, membus = Bus()) # add L1 caches for cpu in cpus: |