From a60a93eb051d49b86e33ed8add06f65fcdb37604 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sun, 30 Aug 2015 12:24:18 -0500 Subject: 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. --- src/mem/ruby/network/Network.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/mem') 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("") -- cgit v1.2.3