summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-11-18 11:53:43 -0600
committerDerek Hower <drh5@cs.wisc.edu>2009-11-18 11:53:43 -0600
commitd11dd6ed2cd1b4e124000beb2317008031a732a2 (patch)
treec287cc6d074afdad067d2a8d5ee3bfd9be01a441 /src/mem
parent2f5839832e86aa2e78d7536428336b7f068c7d38 (diff)
downloadgem5-d11dd6ed2cd1b4e124000beb2317008031a732a2.tar.xz
ruby: turned off randomization by default, turned on memory controller random arbitrate
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/ruby/config/defaults.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mem/ruby/config/defaults.rb b/src/mem/ruby/config/defaults.rb
index fd19e92b6..403ec6932 100644
--- a/src/mem/ruby/config/defaults.rb
+++ b/src/mem/ruby/config/defaults.rb
@@ -117,7 +117,7 @@ class MemoryControl < LibRubyObject
default_param :mem_ctl_latency, Integer, 12
default_param :refresh_period, Integer, 1560
default_param :tFaw, Integer, 0
- default_param :mem_random_arbitrate, Integer, 0
+ default_param :mem_random_arbitrate, Integer, 11
default_param :mem_fixed_delay, Integer, 0
end
@@ -195,9 +195,10 @@ class RubySystem
# When set to true, the simulation will insert random delays on
# message enqueue times. Note that even if this is set to false,
# you can still have a non-deterministic simulation if random seed
- # is set to "rand". This is because the Ruby swtiches use random
- # link priority elevation
- default_param :randomization, Boolean, true
+ # is set to "rand". This is used mainly to debug protocols by forcing
+ # really strange interleavings and should not be used for
+ # performance runs.
+ default_param :randomization, Boolean, false
# tech_nm is the device size used to calculate latency and area
# information about system components