Ruby.py (8257:7226aebb77b4) Ruby.py (8258:7c377f5162f8)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

82 class RouterClass(GarnetRouter_d): pass
83 elif options.garnet_network == "flexible":
84 class NetworkClass(GarnetNetwork): pass
85 class IntLinkClass(GarnetIntLink): pass
86 class ExtLinkClass(GarnetExtLink): pass
87 class RouterClass(GarnetRouter): pass
88 else:
89 class NetworkClass(SimpleNetwork): pass
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2009 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

82 class RouterClass(GarnetRouter_d): pass
83 elif options.garnet_network == "flexible":
84 class NetworkClass(GarnetNetwork): pass
85 class IntLinkClass(GarnetIntLink): pass
86 class ExtLinkClass(GarnetExtLink): pass
87 class RouterClass(GarnetRouter): pass
88 else:
89 class NetworkClass(SimpleNetwork): pass
90 class IntLinkClass(BasicIntLink): pass
91 class ExtLinkClass(BasicExtLink): pass
90 class IntLinkClass(SimpleIntLink): pass
91 class ExtLinkClass(SimpleExtLink): pass
92 class RouterClass(BasicRouter): pass
93
94 #
95 # Important: the topology must be created before the network and after the
96 # controllers.
97 #
98 exec "import %s" % options.topology
99 try:

--- 52 unchanged lines hidden ---
92 class RouterClass(BasicRouter): pass
93
94 #
95 # Important: the topology must be created before the network and after the
96 # controllers.
97 #
98 exec "import %s" % options.topology
99 try:

--- 52 unchanged lines hidden ---