se.py (9800:5fdd91246b7b) | se.py (9815:3b3b94536547) |
---|---|
1# Copyright (c) 2012-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 --- 145 unchanged lines hidden (view full) --- 154# Check -- do not allow SMT with multiple CPUs 155if options.smt and options.num_cpus > 1: 156 fatal("You cannot use SMT with multiple CPUs!") 157 158np = options.num_cpus 159system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 160 physmem = MemClass(range=AddrRange(options.mem_size)), 161 mem_mode = test_mem_mode, | 1# Copyright (c) 2012-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 --- 145 unchanged lines hidden (view full) --- 154# Check -- do not allow SMT with multiple CPUs 155if options.smt and options.num_cpus > 1: 156 fatal("You cannot use SMT with multiple CPUs!") 157 158np = options.num_cpus 159system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 160 physmem = MemClass(range=AddrRange(options.mem_size)), 161 mem_mode = test_mem_mode, |
162 clk_domain = SrcClockDomain(clock = options.sys_clock)) | 162 clk_domain = SrcClockDomain(clock = options.sys_clock), 163 cache_line_size = options.cacheline_size) |
163 164# Create a separate clock domain for the CPUs 165system.cpu_clk_domain = SrcClockDomain(clock = options.cpu_clock) 166 167# All cpus belong to a common cpu_clk_domain, therefore running at a common 168# frequency. 169for cpu in system.cpu: 170 cpu.clk_domain = system.cpu_clk_domain --- 72 unchanged lines hidden --- | 164 165# Create a separate clock domain for the CPUs 166system.cpu_clk_domain = SrcClockDomain(clock = options.cpu_clock) 167 168# All cpus belong to a common cpu_clk_domain, therefore running at a common 169# frequency. 170for cpu in system.cpu: 171 cpu.clk_domain = system.cpu_clk_domain --- 72 unchanged lines hidden --- |