se.py (8957:0bba1c59b4d1) se.py (9006:431fcc41ae4a)
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

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

161
162for i in xrange(np):
163 if len(multiprocesses) == 1:
164 system.cpu[i].workload = multiprocesses[0]
165 else:
166 system.cpu[i].workload = multiprocesses[i]
167
168 if options.fastmem:
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

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

161
162for i in xrange(np):
163 if len(multiprocesses) == 1:
164 system.cpu[i].workload = multiprocesses[0]
165 else:
166 system.cpu[i].workload = multiprocesses[i]
167
168 if options.fastmem:
169 system.cpu[0].fastmem = True
169 system.cpu[i].fastmem = True
170
171 if options.checker:
172 system.cpu[i].addCheckerCpu()
173
174if options.ruby:
175 if not (options.cpu_type == "detailed" or options.cpu_type == "timing"):
176 print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!"
177 sys.exit(1)

--- 24 unchanged lines hidden ---
170
171 if options.checker:
172 system.cpu[i].addCheckerCpu()
173
174if options.ruby:
175 if not (options.cpu_type == "detailed" or options.cpu_type == "timing"):
176 print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!"
177 sys.exit(1)

--- 24 unchanged lines hidden ---