fs.py (10594:4fdc929c0aaa) | fs.py (10608:427f988fe6e5) |
---|---|
1# Copyright (c) 2010-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 --- 183 unchanged lines hidden (view full) --- 192 193 # Sanity check 194 if options.fastmem: 195 if TestCPUClass != AtomicSimpleCPU: 196 fatal("Fastmem can only be used with atomic CPU!") 197 if (options.caches or options.l2cache): 198 fatal("You cannot use fastmem in combination with caches!") 199 | 1# Copyright (c) 2010-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 --- 183 unchanged lines hidden (view full) --- 192 193 # Sanity check 194 if options.fastmem: 195 if TestCPUClass != AtomicSimpleCPU: 196 fatal("Fastmem can only be used with atomic CPU!") 197 if (options.caches or options.l2cache): 198 fatal("You cannot use fastmem in combination with caches!") 199 |
200 if options.simpoint_profile: 201 if not options.fastmem: 202 # Atomic CPU checked with fastmem option already 203 fatal("SimPoint generation should be done with atomic cpu and fastmem") 204 if np > 1: 205 fatal("SimPoint generation not supported with more than one CPUs") 206 |
|
200 for i in xrange(np): 201 if options.fastmem: 202 test_sys.cpu[i].fastmem = True | 207 for i in xrange(np): 208 if options.fastmem: 209 test_sys.cpu[i].fastmem = True |
210 if options.simpoint_profile: 211 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval) |
|
203 if options.checker: 204 test_sys.cpu[i].addCheckerCpu() 205 test_sys.cpu[i].createThreads() 206 207 CacheConfig.config_cache(options, test_sys) 208 MemConfig.config_mem(options, test_sys) 209 210 return test_sys --- 121 unchanged lines hidden --- | 212 if options.checker: 213 test_sys.cpu[i].addCheckerCpu() 214 test_sys.cpu[i].createThreads() 215 216 CacheConfig.config_cache(options, test_sys) 217 MemConfig.config_mem(options, test_sys) 218 219 return test_sys --- 121 unchanged lines hidden --- |