summaryrefslogtreecommitdiff
path: root/tests/configs/simple-atomic-ruby.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/configs/simple-atomic-ruby.py')
-rw-r--r--tests/configs/simple-atomic-ruby.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/configs/simple-atomic-ruby.py b/tests/configs/simple-atomic-ruby.py
index 95f922ddc..c9c61788c 100644
--- a/tests/configs/simple-atomic-ruby.py
+++ b/tests/configs/simple-atomic-ruby.py
@@ -29,8 +29,11 @@
import m5
from m5.objects import *
+import ruby_config
+ruby_memory = ruby_config.generate("MI_example-homogeneous.rb", 1)
+
system = System(cpu = AtomicSimpleCPU(cpu_id=0),
- physmem = RubyMemory(),
+ physmem = ruby_memory,
membus = Bus())
system.physmem.port = system.membus.port
system.cpu.connectMemPorts(system.membus)