1# Copyright (c) 2010-2013, 2016 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 --- 174 unchanged lines hidden (view full) --- 183 test_sys.iocache.cpu_side = test_sys.iobus.master 184 test_sys.iocache.mem_side = test_sys.membus.slave 185 elif not options.external_memory_system: 186 test_sys.iobridge = Bridge(delay='50ns', ranges = test_sys.mem_ranges) 187 test_sys.iobridge.slave = test_sys.iobus.master 188 test_sys.iobridge.master = test_sys.membus.slave 189 190 # Sanity check |
191 if options.simpoint_profile: |
192 if not CpuConfig.is_atomic_cpu(TestCPUClass): 193 fatal("SimPoint generation should be done with atomic cpu") |
194 if np > 1: 195 fatal("SimPoint generation not supported with more than one CPUs") 196 197 for i in xrange(np): |
198 if options.simpoint_profile: 199 test_sys.cpu[i].addSimPointProbe(options.simpoint_interval) 200 if options.checker: 201 test_sys.cpu[i].addCheckerCpu() 202 test_sys.cpu[i].createThreads() 203 204 # If elastic tracing is enabled when not restoring from checkpoint and 205 # when not fast forwarding using the atomic cpu, then check that the --- 49 unchanged lines hidden (view full) --- 255 voltage_domain = 256 drive_sys.cpu_voltage_domain) 257 258 drive_sys.cpu = DriveCPUClass(clk_domain=drive_sys.cpu_clk_domain, 259 cpu_id=0) 260 drive_sys.cpu.createThreads() 261 drive_sys.cpu.createInterruptController() 262 drive_sys.cpu.connectAllPorts(drive_sys.membus) |
263 if options.kernel is not None: 264 drive_sys.kernel = binary(options.kernel) 265 266 if CpuConfig.is_kvm_cpu(DriveCPUClass): 267 drive_sys.kvm_vm = KvmVM() 268 269 drive_sys.iobridge = Bridge(delay='50ns', 270 ranges = drive_sys.mem_ranges) --- 110 unchanged lines hidden --- |