Deleted Added
sdiff udiff text old ( 9577:91cac7c9c636 ) new ( 9647:5b6b315472e7 )
full compact
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
162# Sanity check
163if options.fastmem:
164 if CPUClass != AtomicSimpleCPU:
165 fatal("Fastmem can only be used with atomic CPU!")
166 if (options.caches or options.l2cache):
167 fatal("You cannot use fastmem in combination with caches!")
168
169for i in xrange(np):
170 if options.smt:
171 system.cpu[i].workload = multiprocesses
172 elif len(multiprocesses) == 1:
173 system.cpu[i].workload = multiprocesses[0]
174 else:
175 system.cpu[i].workload = multiprocesses[i]
176
177 if options.fastmem:
178 system.cpu[i].fastmem = True
179
180 if options.checker:
181 system.cpu[i].addCheckerCpu()
182
183 system.cpu[i].createThreads()
184
185if options.ruby:
186 if not (options.cpu_type == "detailed" or options.cpu_type == "timing"):
187 print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!"

--- 33 unchanged lines hidden ---