Ruby.py (8931:7a1dfb191e3f) | Ruby.py (8939:4c84b2566d2f) |
---|---|
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 --- 31 unchanged lines hidden (view full) --- 40# Authors: Brad Beckmann 41 42import math 43import m5 44from m5.objects import * 45from m5.defines import buildEnv 46 47def define_options(parser): | 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 --- 31 unchanged lines hidden (view full) --- 40# Authors: Brad Beckmann 41 42import math 43import m5 44from m5.objects import * 45from m5.defines import buildEnv 46 47def define_options(parser): |
48 # By default, ruby uses the simple timing cpu 49 parser.set_defaults(cpu_type="timing") 50 |
|
48 # ruby network options 49 parser.add_option("--topology", type="string", default="Crossbar", 50 help="check src/mem/ruby/network/topologies for complete set") 51 parser.add_option("--mesh-rows", type="int", default=1, 52 help="the number of rows in the mesh topology") 53 parser.add_option("--garnet-network", type="string", default=None, 54 help="'fixed'|'flexible'") 55 parser.add_option("--network-fault-model", action="store_true", default=False, --- 131 unchanged lines hidden --- | 51 # ruby network options 52 parser.add_option("--topology", type="string", default="Crossbar", 53 help="check src/mem/ruby/network/topologies for complete set") 54 parser.add_option("--mesh-rows", type="int", default=1, 55 help="the number of rows in the mesh topology") 56 parser.add_option("--garnet-network", type="string", default=None, 57 help="'fixed'|'flexible'") 58 parser.add_option("--network-fault-model", action="store_true", default=False, --- 131 unchanged lines hidden --- |