se.py (8931:7a1dfb191e3f) se.py (8957:0bba1c59b4d1)
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

--- 146 unchanged lines hidden (view full) ---

155 physmem = SimpleMemory(range=AddrRange("512MB")),
156 membus = Bus(), 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):
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

--- 146 unchanged lines hidden (view full) ---

155 physmem = SimpleMemory(range=AddrRange("512MB")),
156 membus = Bus(), 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 system.cpu[i].workload = multiprocesses[i]
163 if len(multiprocesses) == 1:
164 system.cpu[i].workload = multiprocesses[0]
165 else:
166 system.cpu[i].workload = multiprocesses[i]
164
165 if options.fastmem:
166 system.cpu[0].fastmem = True
167
168 if options.checker:
169 system.cpu[i].addCheckerCpu()
170
171if options.ruby:

--- 27 unchanged lines hidden ---
167
168 if options.fastmem:
169 system.cpu[0].fastmem = True
170
171 if options.checker:
172 system.cpu[i].addCheckerCpu()
173
174if options.ruby:

--- 27 unchanged lines hidden ---