se.py (11088:d322dd2e2b2d) | se.py (11147:cc8d6e99cf46) |
---|---|
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 --- 164 unchanged lines hidden (view full) --- 173 fatal("You cannot use SMT with multiple CPUs!") 174 175np = options.num_cpus 176system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 177 mem_mode = test_mem_mode, 178 mem_ranges = [AddrRange(options.mem_size)], 179 cache_line_size = options.cacheline_size) 180 | 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 --- 164 unchanged lines hidden (view full) --- 173 fatal("You cannot use SMT with multiple CPUs!") 174 175np = options.num_cpus 176system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)], 177 mem_mode = test_mem_mode, 178 mem_ranges = [AddrRange(options.mem_size)], 179 cache_line_size = options.cacheline_size) 180 |
181if numThreads > 1: 182 system.multi_thread = True 183 |
|
181# Create a top-level voltage domain 182system.voltage_domain = VoltageDomain(voltage = options.sys_voltage) 183 184# Create a source clock for the system and set the clock period 185system.clk_domain = SrcClockDomain(clock = options.sys_clock, 186 voltage_domain = system.voltage_domain) 187 188# Create a CPU voltage domain --- 90 unchanged lines hidden --- | 184# Create a top-level voltage domain 185system.voltage_domain = VoltageDomain(voltage = options.sys_voltage) 186 187# Create a source clock for the system and set the clock period 188system.clk_domain = SrcClockDomain(clock = options.sys_clock, 189 voltage_domain = system.voltage_domain) 190 191# Create a CPU voltage domain --- 90 unchanged lines hidden --- |