fs.py (11183:276ad9121192) | fs.py (11251:a15c86af004a) |
---|---|
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 --- 200 unchanged lines hidden (view full) --- 209 if options.fastmem: 210 test_sys.cpu[i].fastmem = True 211 if options.simpoint_profile: 212 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval) 213 if options.checker: 214 test_sys.cpu[i].addCheckerCpu() 215 test_sys.cpu[i].createThreads() 216 | 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 --- 200 unchanged lines hidden (view full) --- 209 if options.fastmem: 210 test_sys.cpu[i].fastmem = True 211 if options.simpoint_profile: 212 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval) 213 if options.checker: 214 test_sys.cpu[i].addCheckerCpu() 215 test_sys.cpu[i].createThreads() 216 |
217 # If elastic tracing is enabled when not restoring from checkpoint and 218 # when not fast forwarding using the atomic cpu, then check that the 219 # TestCPUClass is DerivO3CPU or inherits from DerivO3CPU. If the check 220 # passes then attach the elastic trace probe. 221 # If restoring from checkpoint or fast forwarding, the code that does this for 222 # FutureCPUClass is in the Simulation module. If the check passes then the 223 # elastic trace probe is attached to the switch CPUs. 224 if options.elastic_trace_en and options.checkpoint_restore == None and \ 225 not options.fast_forward: 226 CpuConfig.config_etrace(TestCPUClass, test_sys.cpu, options) 227 |
|
217 CacheConfig.config_cache(options, test_sys) 218 219 MemConfig.config_mem(options, test_sys) 220 221 return test_sys 222 223def build_drive_system(np): 224 # driver system CPU is always simple, so is the memory --- 121 unchanged lines hidden --- | 228 CacheConfig.config_cache(options, test_sys) 229 230 MemConfig.config_mem(options, test_sys) 231 232 return test_sys 233 234def build_drive_system(np): 235 # driver system CPU is always simple, so is the memory --- 121 unchanged lines hidden --- |