CacheConfig.py (12564:2778478ca882) CacheConfig.py (13731:67cd980cb20f)
1# Copyright (c) 2012-2013, 2015-2016 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

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

92
93 system.tol2bus = L2XBar(clk_domain = system.cpu_clk_domain)
94 system.l2.cpu_side = system.tol2bus.master
95 system.l2.mem_side = system.membus.slave
96
97 if options.memchecker:
98 system.memchecker = MemChecker()
99
1# Copyright (c) 2012-2013, 2015-2016 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

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

92
93 system.tol2bus = L2XBar(clk_domain = system.cpu_clk_domain)
94 system.l2.cpu_side = system.tol2bus.master
95 system.l2.mem_side = system.membus.slave
96
97 if options.memchecker:
98 system.memchecker = MemChecker()
99
100 for i in xrange(options.num_cpus):
100 for i in range(options.num_cpus):
101 if options.caches:
102 icache = icache_class(size=options.l1i_size,
103 assoc=options.l1i_assoc)
104 dcache = dcache_class(size=options.l1d_size,
105 assoc=options.l1d_assoc)
106
107 # If we have a walker cache specified, instantiate two
108 # instances here

--- 80 unchanged lines hidden ---
101 if options.caches:
102 icache = icache_class(size=options.l1i_size,
103 assoc=options.l1i_assoc)
104 dcache = dcache_class(size=options.l1d_size,
105 assoc=options.l1d_assoc)
106
107 # If we have a walker cache specified, instantiate two
108 # instances here

--- 80 unchanged lines hidden ---