se.py (10524:fff17530cef6) se.py (10547:b61dc895269a)
1# Copyright (c) 2012-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

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

220
221 system.cpu[i].createThreads()
222
223if options.ruby:
224 if not (options.cpu_type == "detailed" or options.cpu_type == "timing"):
225 print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!"
226 sys.exit(1)
227
1# Copyright (c) 2012-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

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

220
221 system.cpu[i].createThreads()
222
223if options.ruby:
224 if not (options.cpu_type == "detailed" or options.cpu_type == "timing"):
225 print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!"
226 sys.exit(1)
227
228 options.use_map = True
229 Ruby.create_system(options, False, system)
230 assert(options.num_cpus == len(system.ruby._cpu_ports))
231
232 system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock,
233 voltage_domain = system.voltage_domain)
234 for i in xrange(np):
235 ruby_port = system.ruby._cpu_ports[i]
236

--- 23 unchanged lines hidden ---
228 Ruby.create_system(options, False, system)
229 assert(options.num_cpus == len(system.ruby._cpu_ports))
230
231 system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock,
232 voltage_domain = system.voltage_domain)
233 for i in xrange(np):
234 ruby_port = system.ruby._cpu_ports[i]
235

--- 23 unchanged lines hidden ---