se.py (9577:91cac7c9c636) | se.py (9647:5b6b315472e7) |
---|---|
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 | 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 |
169if options.simpoint_profile: 170 if not options.fastmem: 171 # Atomic CPU checked with fastmem option already 172 fatal("SimPoint generation should be done with atomic cpu and fastmem") 173 if np > 1: 174 fatal("SimPoint generation not supported with more than one CPUs") 175 |
|
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 | 176for i in xrange(np): 177 if options.smt: 178 system.cpu[i].workload = multiprocesses 179 elif len(multiprocesses) == 1: 180 system.cpu[i].workload = multiprocesses[0] 181 else: 182 system.cpu[i].workload = multiprocesses[i] 183 184 if options.fastmem: 185 system.cpu[i].fastmem = True 186 |
187 if options.simpoint_profile: 188 system.cpu[i].simpoint_profile = True 189 system.cpu[i].simpoint_interval = options.simpoint_interval 190 |
|
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 --- | 191 if options.checker: 192 system.cpu[i].addCheckerCpu() 193 194 system.cpu[i].createThreads() 195 196if options.ruby: 197 if not (options.cpu_type == "detailed" or options.cpu_type == "timing"): 198 print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!" --- 33 unchanged lines hidden --- |