base_config.py (12070:d89ac2ebc159) base_config.py (12598:b80b2d9a251b)
1# Copyright (c) 2012-2013, 2017 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

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

165 options.l1i_size="32kB"
166 options.l2_size="4MB"
167 options.l1d_assoc=4
168 options.l1i_assoc=2
169 options.l2_assoc=8
170 options.num_cpus = self.num_cpus
171 options.num_dirs = 2
172
1# Copyright (c) 2012-2013, 2017 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

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

165 options.l1i_size="32kB"
166 options.l2_size="4MB"
167 options.l1d_assoc=4
168 options.l1i_assoc=2
169 options.l2_assoc=8
170 options.num_cpus = self.num_cpus
171 options.num_dirs = 2
172
173 bootmem = getattr(system, 'bootmem', None)
173 Ruby.create_system(options, True, system, system.iobus,
174 Ruby.create_system(options, True, system, system.iobus,
174 system._dma_ports)
175 system._dma_ports, bootmem)
175
176 # Create a seperate clock domain for Ruby
177 system.ruby.clk_domain = SrcClockDomain(
178 clock = options.ruby_clock,
179 voltage_domain = system.voltage_domain)
180 for i, cpu in enumerate(system.cpu):
181 if not cpu.switched_out:
182 cpu.createInterruptController()

--- 142 unchanged lines hidden ---
176
177 # Create a seperate clock domain for Ruby
178 system.ruby.clk_domain = SrcClockDomain(
179 clock = options.ruby_clock,
180 voltage_domain = system.voltage_domain)
181 for i, cpu in enumerate(system.cpu):
182 if not cpu.switched_out:
183 cpu.createInterruptController()

--- 142 unchanged lines hidden ---