summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-08-20 11:32:31 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-08-20 11:32:31 -0500
commitc4e7e18eeb72ede635ea75314406a19fa532fdd6 (patch)
treedb08ff711f1548f541679be9b7be94322da03972 /tests
parentc6062a3981e121d43ace2313766bdd4a1ce52d94 (diff)
downloadgem5-c4e7e18eeb72ede635ea75314406a19fa532fdd6.tar.xz
ruby: add option for number of transitions per cycle
The number of transitions per cycle that a controller can carry out is a proxy for the number of ports that a controller has. This value is currently 32 which is way too high. The patch introduces an option for the number of ports and uses this option in the protocol files to set the number of transitions. The default value is being set to 4. None of the se regressions change. Ruby stats for the fs regression change and are being updated.
Diffstat (limited to 'tests')
-rw-r--r--tests/configs/memtest-ruby.py1
-rw-r--r--tests/configs/rubytest-ruby.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/configs/memtest-ruby.py b/tests/configs/memtest-ruby.py
index 004ff644a..8535a19a4 100644
--- a/tests/configs/memtest-ruby.py
+++ b/tests/configs/memtest-ruby.py
@@ -64,6 +64,7 @@ options.l1d_assoc=2
options.l1i_assoc=2
options.l2_assoc=2
options.l3_assoc=2
+options.ports=32
#MAX CORES IS 8 with the fals sharing method
nb_cores = 8
diff --git a/tests/configs/rubytest-ruby.py b/tests/configs/rubytest-ruby.py
index 54495ab54..9fe85d14f 100644
--- a/tests/configs/rubytest-ruby.py
+++ b/tests/configs/rubytest-ruby.py
@@ -65,6 +65,7 @@ options.l1d_assoc=2
options.l1i_assoc=2
options.l2_assoc=2
options.l3_assoc=2
+options.ports=32
# Turn on flush check for the hammer protocol
check_flush = False