Deleted Added
sdiff udiff text old ( 9593:9441ca79f3c8 ) new ( 9594:219ad5fe8c04 )
full compact
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 128 unchanged lines hidden (view full) ---

137 class ExtLinkClass(SimpleExtLink): pass
138 class RouterClass(Switch): pass
139
140 #
141 # Important: the topology must be instantiated before the network and after
142 # the controllers. Hence the separation between topology definition and
143 # instantiation.
144 #
145
146 routers, int_links, ext_links = topology.makeTopology(options,
147 IntLinkClass, ExtLinkClass, RouterClass)
148 network = NetworkClass(ruby_system = ruby, routers = routers,
149 int_links = int_links, ext_links = ext_links,
150 topology = topology.description)
151
152 if options.network_fault_model:
153 assert(options.garnet_network == "fixed")
154 network.enable_fault_model = True
155 network.fault_model = FaultModel()
156
157 #
158 # Loop through the directory controlers.
159 # Determine the total memory size of the ruby system and verify it is equal

--- 34 unchanged lines hidden ---