summaryrefslogtreecommitdiff
path: root/configs/ruby
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-03-06 21:53:16 -0600
committerNilay Vaish <nilay@cs.wisc.edu>2013-03-06 21:53:16 -0600
commite8802fa127f5a446e708eb9f7ce8509e850bf699 (patch)
tree7845eb915cdf2718e8264f5811e0be22aaddf342 /configs/ruby
parent09b2430e95df4f744a000bac34100eeb9ebcb878 (diff)
downloadgem5-e8802fa127f5a446e708eb9f7ce8509e850bf699.tar.xz
ruby: garnet: fixed: implement functional access
Diffstat (limited to 'configs/ruby')
-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 40ee63195..88a0acd49 100644
--- a/configs/ruby/Ruby.py
+++ b/configs/ruby/Ruby.py
@@ -53,8 +53,8 @@ def define_options(parser):
help="check src/mem/ruby/network/topologies for complete set")
parser.add_option("--mesh-rows", type="int", default=1,
help="the number of rows in the mesh topology")
- parser.add_option("--garnet-network", type="string", default=None,
- help="'fixed'|'flexible'")
+ parser.add_option("--garnet-network", type="choice",
+ choices=['fixed', 'flexible'], help="'fixed'|'flexible'")
parser.add_option("--network-fault-model", action="store_true", default=False,
help="enable network fault model: see src/mem/ruby/network/fault_model/")