Options.py (8689:ec5f79b99ac3) | Options.py (8724:7b4d80b26e35) |
---|---|
1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 23# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26# 27# Authors: Lisa Hsu 28 29# system options 30parser.add_option("--cpu-type", type="choice", default="atomic", | 1# Copyright (c) 2006-2008 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 23# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26# 27# Authors: Lisa Hsu 28 29# system options 30parser.add_option("--cpu-type", type="choice", default="atomic", |
31 choices = ["atomic", "timing", "detailed", "inorder"], | 31 choices = ["atomic", "timing", "detailed", "inorder", 32 "arm_detailed"], |
32 help = "type of cpu to run with") 33parser.add_option("-n", "--num-cpus", type="int", default=1) 34parser.add_option("--caches", action="store_true") 35parser.add_option("--l2cache", action="store_true") 36parser.add_option("--fastmem", action="store_true") 37parser.add_option("--clock", action="store", type="string", default='2GHz') 38parser.add_option("--num-dirs", type="int", default=1) 39parser.add_option("--num-l2caches", type="int", default=1) --- 79 unchanged lines hidden --- | 33 help = "type of cpu to run with") 34parser.add_option("-n", "--num-cpus", type="int", default=1) 35parser.add_option("--caches", action="store_true") 36parser.add_option("--l2cache", action="store_true") 37parser.add_option("--fastmem", action="store_true") 38parser.add_option("--clock", action="store", type="string", default='2GHz') 39parser.add_option("--num-dirs", type="int", default=1) 40parser.add_option("--num-l2caches", type="int", default=1) --- 79 unchanged lines hidden --- |