From da704f52e55dd2649e53bf233f948c897727f13d Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 6 Jul 2009 15:49:47 -0700 Subject: ruby: Fix RubyMemory to work with the newer ruby. --- tests/configs/simple-timing-mp-ruby.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/configs/simple-timing-mp-ruby.py') diff --git a/tests/configs/simple-timing-mp-ruby.py b/tests/configs/simple-timing-mp-ruby.py index df019c321..ed4b5b4c6 100644 --- a/tests/configs/simple-timing-mp-ruby.py +++ b/tests/configs/simple-timing-mp-ruby.py @@ -32,9 +32,11 @@ from m5.objects import * nb_cores = 4 cpus = [ TimingSimpleCPU(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: -- cgit v1.2.3