diff options
author | Emilio Castillo ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <castilloe@unican.es> | 2014-09-01 16:55:30 -0500 |
---|---|---|
committer | Emilio Castillo ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <castilloe@unican.es> | 2014-09-01 16:55:30 -0500 |
commit | 01f792a3675983411ff77b54cbee7ffee2a3d5d5 (patch) | |
tree | 0f1d219ac9ff1d10b865d856d640884e2b177f13 /configs/example/ruby_random_test.py | |
parent | 5efbb4442a0e8c653539e263bf87c48849280e23 (diff) | |
download | gem5-01f792a3675983411ff77b54cbee7ffee2a3d5d5.tar.xz |
ruby: Fixes clock domains in configuration files
This patch fixes scripts related to ruby by adding the ruby clock domain.
Now the L1 controllers and the Sequencer shares the cpu clock domain,
while the rest of the components use the ruby clock domain.
Before this patch, running simulations with the cpu clock set at 2GHz or
1GHz will output the same time results and could distort power measurements.
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'configs/example/ruby_random_test.py')
-rw-r--r-- | configs/example/ruby_random_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/ruby_random_test.py b/configs/example/ruby_random_test.py index 32d5cf34d..63faeb97a 100644 --- a/configs/example/ruby_random_test.py +++ b/configs/example/ruby_random_test.py @@ -97,7 +97,7 @@ tester = RubyTester(check_flush = check_flush, # actually used by the rubytester, but is included to support the # M5 memory size == Ruby memory size checks # -system = System(tester = tester, physmem = SimpleMemory(), +system = System(cpu = tester, physmem = SimpleMemory(), mem_ranges = [AddrRange(options.mem_size)]) # Create a top-level voltage domain and clock domain |