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/o3-timing-ruby.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/configs/o3-timing-ruby.py') diff --git a/tests/configs/o3-timing-ruby.py b/tests/configs/o3-timing-ruby.py index 394550987..a91a9cf39 100644 --- a/tests/configs/o3-timing-ruby.py +++ b/tests/configs/o3-timing-ruby.py @@ -31,11 +31,14 @@ from m5.objects import * m5.AddToPath('../configs/common') +import ruby_config +ruby_memory = ruby_config.generate("MI_example-homogeneous.rb", 1) + cpu = DerivO3CPU(cpu_id=0) cpu.clock = '2GHz' system = System(cpu = cpu, - physmem = RubyMemory(), + physmem = ruby_memory, membus = Bus()) system.physmem.port = system.membus.port cpu.connectMemPorts(system.membus) -- cgit v1.2.3