From e8802fa127f5a446e708eb9f7ce8509e850bf699 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Wed, 6 Mar 2013 21:53:16 -0600 Subject: ruby: garnet: fixed: implement functional access --- configs/ruby/Ruby.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configs') 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/") -- cgit v1.2.3