se.py (9789:233420718e61) | se.py (9790:ccc428657233) |
---|---|
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# Check -- do not allow SMT with multiple CPUs 156if options.smt and options.num_cpus > 1: 157 fatal("You cannot use SMT with multiple CPUs!") 158 159np = options.num_cpus 160system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 161 physmem = MemClass(range=AddrRange("512MB")), 162 mem_mode = test_mem_mode) | 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# Check -- do not allow SMT with multiple CPUs 156if options.smt and options.num_cpus > 1: 157 fatal("You cannot use SMT with multiple CPUs!") 158 159np = options.num_cpus 160system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 161 physmem = MemClass(range=AddrRange("512MB")), 162 mem_mode = test_mem_mode) |
163system.clock = options.sys_clock |
|
163 164# Sanity check 165if options.fastmem: 166 if CPUClass != AtomicSimpleCPU: 167 fatal("Fastmem can only be used with atomic CPU!") 168 if (options.caches or options.l2cache): 169 fatal("You cannot use fastmem in combination with caches!") 170 --- 64 unchanged lines hidden --- | 164 165# Sanity check 166if options.fastmem: 167 if CPUClass != AtomicSimpleCPU: 168 fatal("Fastmem can only be used with atomic CPU!") 169 if (options.caches or options.l2cache): 170 fatal("You cannot use fastmem in combination with caches!") 171 --- 64 unchanged lines hidden --- |