summaryrefslogtreecommitdiff
path: root/src/mem/ruby
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2015-08-30 12:24:18 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2015-08-30 12:24:18 -0500
commita60a93eb051d49b86e33ed8add06f65fcdb37604 (patch)
tree6dab89491015cde673e2cb52f29c7c7840ed6005 /src/mem/ruby
parentbf8ae288fa81ad66c56eae483eea1814afaa2119 (diff)
downloadgem5-a60a93eb051d49b86e33ed8add06f65fcdb37604.tar.xz
ruby: specify number of vnets for each protocol
The default value for number of virtual networks is being removed. Each protocol should now specify the value it needs.
Diffstat (limited to 'src/mem/ruby')
-rw-r--r--src/mem/ruby/network/Network.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mem/ruby/network/Network.py b/src/mem/ruby/network/Network.py
index 8cc38f26f..da0a788b5 100644
--- a/src/mem/ruby/network/Network.py
+++ b/src/mem/ruby/network/Network.py
@@ -39,7 +39,11 @@ class RubyNetwork(ClockedObject):
topology = Param.String("Not Specified",
"the name of the imported topology module")
- number_of_virtual_networks = Param.Int(10, "")
+ number_of_virtual_networks = Param.Unsigned("Number of virtual networks "
+ "used by the coherence protocol in use. The on-chip network "
+ "assumes the protocol numbers vnets starting from 0. Therefore, "
+ "the number of virtual networks should be one more than the "
+ "highest numbered vnet in use.")
control_msg_size = Param.Int(8, "")
ruby_system = Param.RubySystem("")