diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-08-20 11:32:31 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-08-20 11:32:31 -0500 |
commit | c4e7e18eeb72ede635ea75314406a19fa532fdd6 (patch) | |
tree | db08ff711f1548f541679be9b7be94322da03972 /configs/ruby/Ruby.py | |
parent | c6062a3981e121d43ace2313766bdd4a1ce52d94 (diff) | |
download | gem5-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 'configs/ruby/Ruby.py')
-rw-r--r-- | configs/ruby/Ruby.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index b6cc7a5e8..e9a8a3c3f 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -52,6 +52,11 @@ def define_options(parser): default='2GHz', help="Clock for blocks running at Ruby system's speed") + # Options related to cache structure + parser.add_option("--ports", action="store", type="int", default=4, + help="used of transitions per cycle which is a proxy \ + for the number of ports.") + # ruby network options parser.add_option("--topology", type="string", default="Crossbar", help="check src/mem/ruby/network/topologies for complete set") |