Deleted Added
sdiff udiff text old ( 13357:110926e15f1f ) new ( 13432:6ce67b7e6e44 )
full compact
1# Copyright (c) 2013 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

--- 30 unchanged lines hidden (view full) ---

39# Authors: Lisa Hsu
40
41import m5
42from m5.defines import buildEnv
43from m5.objects import *
44from common.Benchmarks import *
45
46from common import CpuConfig
47from common import MemConfig
48from common import PlatformConfig
49
50def _listCpuTypes(option, opt, value, parser):
51 CpuConfig.print_cpu_list()
52 sys.exit(0)
53
54def _listMemTypes(option, opt, value, parser):
55 MemConfig.print_mem_list()
56 sys.exit(0)
57
58def _listPlatformTypes(option, opt, value, parser):
59 PlatformConfig.print_platform_list()
60 sys.exit(0)
61

--- 79 unchanged lines hidden (view full) ---

141
142 # system options
143 parser.add_option("--list-cpu-types",
144 action="callback", callback=_listCpuTypes,
145 help="List available CPU types")
146 parser.add_option("--cpu-type", type="choice", default="AtomicSimpleCPU",
147 choices=CpuConfig.cpu_names(),
148 help = "type of cpu to run with")
149 parser.add_option("--checker", action="store_true");
150 parser.add_option("--cpu-clock", action="store", type="string",
151 default='2GHz',
152 help="Clock for blocks running at CPU speed")
153 parser.add_option("--smt", action="store_true", default=False,
154 help = """
155 Only used if multiple programs are specified. If true,
156 then the number of threads per cpu is same as the

--- 224 unchanged lines hidden ---