Ruby.py (10116:d61a59beb670) Ruby.py (10118:5e1f04b4d5e4)
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

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

38# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39#
40# Authors: Brad Beckmann
41
42import math
43import m5
44from m5.objects import *
45from m5.defines import buildEnv
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

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

38# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39#
40# Authors: Brad Beckmann
41
42import math
43import m5
44from m5.objects import *
45from m5.defines import buildEnv
46from m5.util import addToPath, fatal
46
47
48addToPath('../topologies')
49
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

--- 148 unchanged lines hidden ---
50def define_options(parser):
51 # By default, ruby uses the simple timing cpu
52 parser.set_defaults(cpu_type="timing")
53
54 parser.add_option("--ruby-clock", action="store", type="string",
55 default='2GHz',
56 help="Clock for blocks running at Ruby system's speed")
57

--- 148 unchanged lines hidden ---