diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-08-30 12:24:18 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-08-30 12:24:18 -0500 |
commit | a60a93eb051d49b86e33ed8add06f65fcdb37604 (patch) | |
tree | 6dab89491015cde673e2cb52f29c7c7840ed6005 /src/mem/ruby | |
parent | bf8ae288fa81ad66c56eae483eea1814afaa2119 (diff) | |
download | gem5-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.py | 6 |
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("") |