se.py (11851:824055fe6b30) se.py (11995:d3dbd5a6b19a)
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

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

245 system.cpu[i].addSimPointProbe(options.simpoint_interval)
246
247 if options.checker:
248 system.cpu[i].addCheckerCpu()
249
250 system.cpu[i].createThreads()
251
252if options.ruby:
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

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

245 system.cpu[i].addSimPointProbe(options.simpoint_interval)
246
247 if options.checker:
248 system.cpu[i].addCheckerCpu()
249
250 system.cpu[i].createThreads()
251
252if options.ruby:
253 if options.cpu_type == "atomic" or options.cpu_type == "AtomicSimpleCPU":
253 if options.cpu_type == "AtomicSimpleCPU":
254 print >> sys.stderr, "Ruby does not work with atomic cpu!!"
255 sys.exit(1)
256
257 Ruby.create_system(options, False, system)
258 assert(options.num_cpus == len(system.ruby._cpu_ports))
259
260 system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock,
261 voltage_domain = system.voltage_domain)

--- 26 unchanged lines hidden ---
254 print >> sys.stderr, "Ruby does not work with atomic cpu!!"
255 sys.exit(1)
256
257 Ruby.create_system(options, False, system)
258 assert(options.num_cpus == len(system.ruby._cpu_ports))
259
260 system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock,
261 voltage_domain = system.voltage_domain)

--- 26 unchanged lines hidden ---