diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:32 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:32 -0800 |
commit | 8dd45674aef2822d4c6cb57f1a4aedc7d9ee311c (patch) | |
tree | 47d5d83cfdd2a6ff7025c3417fd843b7cd16841f /configs/ruby/Ruby.py | |
parent | b5444625056a93cd676c512a891b0c13c44cf58b (diff) | |
download | gem5-8dd45674aef2822d4c6cb57f1a4aedc7d9ee311c.tar.xz |
ruby: Converted Garnet to M5 configuration
Diffstat (limited to 'configs/ruby/Ruby.py')
-rw-r--r-- | configs/ruby/Ruby.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configs/ruby/Ruby.py b/configs/ruby/Ruby.py index d34ffd7a2..65adc152e 100644 --- a/configs/ruby/Ruby.py +++ b/configs/ruby/Ruby.py @@ -90,7 +90,12 @@ def create_system(options, physmem, piobus = None, dma_devices = []): len(cpu_sequencers), options.mesh_rows) - network = SimpleNetwork(topology = net_topology) + if options.garnet_network == "fixed": + network = GarnetNetwork_d(topology = net_topology) + elif options.garnet_network == "flexible": + network = GarnetNetwork(topology = net_topology) + else: + network = SimpleNetwork(topology = net_topology) # # determine the total memory size of the ruby system and verify it is equal |