summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2011-04-28 17:18:14 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2011-04-28 17:18:14 -0700
commit8733ed4b7d3f4c138738c9636da1437e7724e9cc (patch)
tree199888d55fda3837f9ddb62fdee9a8dbdeab766a /configs
parent40bcbf42539fec83628f2ae2627238adff27f62c (diff)
downloadgem5-8733ed4b7d3f4c138738c9636da1437e7724e9cc.tar.xz
network: basic link bw for garnet and simple networks
This patch ensures that both Garnet and the simple networks use the bw value specified in the topology. To do so, the patch generalizes the specification of bw for basic links. This value is then translated to the specific value used by the simple and Garnet networks. Since Garent does not support non-uniformed link bandwidth, the patch also adds a check to ensure all bws are equal. --HG-- rename : src/mem/ruby/network/BasicLink.cc => src/mem/ruby/network/simple/SimpleLink.cc rename : src/mem/ruby/network/BasicLink.hh => src/mem/ruby/network/simple/SimpleLink.hh rename : src/mem/ruby/network/BasicLink.py => src/mem/ruby/network/simple/SimpleLink.py
Diffstat (limited to 'configs')
-rw-r--r--configs/ruby/Ruby.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py
index 7f32829d6..604bb7a73 100644
--- a/configs/ruby/Ruby.py
+++ b/configs/ruby/Ruby.py
@@ -87,8 +87,8 @@ def create_system(options, system, piobus = None, dma_devices = []):
class RouterClass(GarnetRouter): pass
else:
class NetworkClass(SimpleNetwork): pass
- class IntLinkClass(BasicIntLink): pass
- class ExtLinkClass(BasicExtLink): pass
+ class IntLinkClass(SimpleIntLink): pass
+ class ExtLinkClass(SimpleExtLink): pass
class RouterClass(BasicRouter): pass
#