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/memtest-ruby.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/configs/memtest-ruby.py') diff --git a/tests/configs/memtest-ruby.py b/tests/configs/memtest-ruby.py index 004424af5..00a668a7b 100644 --- a/tests/configs/memtest-ruby.py +++ b/tests/configs/memtest-ruby.py @@ -34,9 +34,12 @@ from m5.objects import * nb_cores = 8 cpus = [ MemTest() 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, funcmem = PhysicalMemory(), - physmem = RubyMemory(num_cpus=nb_cores), + physmem = ruby_memory, membus = Bus(clock="500GHz", width=16)) for cpu in cpus: -- cgit v1.2.3