summaryrefslogtreecommitdiff
path: root/src/mem/ruby/network/Network.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-03-22 15:53:22 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-03-22 15:53:22 -0500
commit2d501276429ab674c146a86802e62538892fc500 (patch)
tree11bbe0bd00647b64046cdf2c52a13fbfa07030d0 /src/mem/ruby/network/Network.py
parent2ca42cd62666f4d13eab259290b6cde5fe677862 (diff)
downloadgem5-2d501276429ab674c146a86802e62538892fc500.tar.xz
ruby: network: move routers from topology to network
Diffstat (limited to 'src/mem/ruby/network/Network.py')
-rw-r--r--src/mem/ruby/network/Network.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mem/ruby/network/Network.py b/src/mem/ruby/network/Network.py
index a1313a841..1d2e8ed9d 100644
--- a/src/mem/ruby/network/Network.py
+++ b/src/mem/ruby/network/Network.py
@@ -37,11 +37,9 @@ class Topology(SimObject):
cxx_header = "mem/ruby/network/Topology.hh"
description = Param.String("Not Specified",
"the name of the imported topology module")
+ num_routers = Param.UInt32("Number of routers in the network")
ext_links = VectorParam.BasicExtLink("Links to external nodes")
int_links = VectorParam.BasicIntLink("Links between internal nodes")
- routers = VectorParam.BasicRouter("Network routers")
- print_config = Param.Bool(False,
- "display topology config in the stats file")
class RubyNetwork(ClockedObject):
type = 'RubyNetwork'
@@ -52,3 +50,4 @@ class RubyNetwork(ClockedObject):
topology = Param.Topology("");
control_msg_size = Param.Int(8, "");
ruby_system = Param.RubySystem("");
+ routers = VectorParam.BasicRouter("Network routers")