summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:19 -0800
committerBrad Beckmann <Brad.Beckmann@amd.com>2010-01-29 20:29:19 -0800
commit12daaed84a44920968adb6b16bd558561bd18801 (patch)
tree0f72b27373669de9b7c060b080ac4a4093b8cccc /configs
parented814899541d65783e93a37ab320650c5075c72d (diff)
downloadgem5-12daaed84a44920968adb6b16bd558561bd18801.tar.xz
ruby: Added clock to ruby system
As a first step to migrate ruby to the M5 eventqueue, added a clock variable to the ruby system.
Diffstat (limited to 'configs')
-rw-r--r--configs/example/memtest-ruby.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/example/memtest-ruby.py b/configs/example/memtest-ruby.py
index 8c7923512..844acefb4 100644
--- a/configs/example/memtest-ruby.py
+++ b/configs/example/memtest-ruby.py
@@ -158,7 +158,8 @@ network = SimpleNetwork(topology = makeCrossbar(l1_cntrl_nodes + \
mem_size_mb = sum([int(dir_cntrl.directory.size_mb) \
for dir_cntrl in dir_cntrl_nodes])
-system.ruby = RubySystem(network = network,
+system.ruby = RubySystem(clock = '1GHz',
+ network = network,
profiler = RubyProfiler(),
tracer = RubyTracer(),
debug = RubyDebug(),