Ruby.py (9826:014ff1fbff6d) | Ruby.py (9841:69c158420c51) |
---|---|
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 --- 38 unchanged lines hidden (view full) --- 47def define_options(parser): 48 # By default, ruby uses the simple timing cpu 49 parser.set_defaults(cpu_type="timing") 50 51 parser.add_option("--ruby-clock", action="store", type="string", 52 default='2GHz', 53 help="Clock for blocks running at Ruby system's speed") 54 | 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 --- 38 unchanged lines hidden (view full) --- 47def define_options(parser): 48 # By default, ruby uses the simple timing cpu 49 parser.set_defaults(cpu_type="timing") 50 51 parser.add_option("--ruby-clock", action="store", type="string", 52 default='2GHz', 53 help="Clock for blocks running at Ruby system's speed") 54 |
55 # Options related to cache structure 56 parser.add_option("--ports", action="store", type="int", default=4, 57 help="used of transitions per cycle which is a proxy \ 58 for the number of ports.") 59 |
|
55 # ruby network options 56 parser.add_option("--topology", type="string", default="Crossbar", 57 help="check src/mem/ruby/network/topologies for complete set") 58 parser.add_option("--mesh-rows", type="int", default=1, 59 help="the number of rows in the mesh topology") 60 parser.add_option("--garnet-network", type="choice", 61 choices=['fixed', 'flexible'], help="'fixed'|'flexible'") 62 parser.add_option("--network-fault-model", action="store_true", default=False, --- 133 unchanged lines hidden --- | 60 # ruby network options 61 parser.add_option("--topology", type="string", default="Crossbar", 62 help="check src/mem/ruby/network/topologies for complete set") 63 parser.add_option("--mesh-rows", type="int", default=1, 64 help="the number of rows in the mesh topology") 65 parser.add_option("--garnet-network", type="choice", 66 choices=['fixed', 'flexible'], help="'fixed'|'flexible'") 67 parser.add_option("--network-fault-model", action="store_true", default=False, --- 133 unchanged lines hidden --- |