se.py (9006:431fcc41ae4a) | se.py (9036:6385cf85bf12) |
---|---|
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 --- 139 unchanged lines hidden (view full) --- 148(CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) 149CPUClass.clock = '2GHz' 150CPUClass.numThreads = numThreads; 151 152np = options.num_cpus 153 154system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 155 physmem = SimpleMemory(range=AddrRange("512MB")), | 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 --- 139 unchanged lines hidden (view full) --- 148(CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) 149CPUClass.clock = '2GHz' 150CPUClass.numThreads = numThreads; 151 152np = options.num_cpus 153 154system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 155 physmem = SimpleMemory(range=AddrRange("512MB")), |
156 membus = Bus(), mem_mode = test_mem_mode) | 156 membus = CoherentBus(), mem_mode = test_mem_mode) |
157 158# Sanity check 159if options.fastmem and (options.caches or options.l2cache): 160 fatal("You cannot use fastmem in combination with caches!") 161 162for i in xrange(np): 163 if len(multiprocesses) == 1: 164 system.cpu[i].workload = multiprocesses[0] --- 37 unchanged lines hidden --- | 157 158# Sanity check 159if options.fastmem and (options.caches or options.l2cache): 160 fatal("You cannot use fastmem in combination with caches!") 161 162for i in xrange(np): 163 if len(multiprocesses) == 1: 164 system.cpu[i].workload = multiprocesses[0] --- 37 unchanged lines hidden --- |