Caches.py (9321:7f0464326b2b) Caches.py (9815:3b3b94536547)
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

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

45# system-configuration scripts. The values are meant to serve as a
46# starting point, and specific parameters can be overridden in the
47# specific instantiations.
48
49class L1Cache(BaseCache):
50 assoc = 2
51 hit_latency = 2
52 response_latency = 2
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

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

45# system-configuration scripts. The values are meant to serve as a
46# starting point, and specific parameters can be overridden in the
47# specific instantiations.
48
49class L1Cache(BaseCache):
50 assoc = 2
51 hit_latency = 2
52 response_latency = 2
53 block_size = 64
54 mshrs = 4
55 tgts_per_mshr = 20
56 is_top_level = True
57
58class L2Cache(BaseCache):
59 assoc = 8
53 mshrs = 4
54 tgts_per_mshr = 20
55 is_top_level = True
56
57class L2Cache(BaseCache):
58 assoc = 8
60 block_size = 64
61 hit_latency = 20
62 response_latency = 20
63 mshrs = 20
64 tgts_per_mshr = 12
65 write_buffers = 8
66
67class IOCache(BaseCache):
68 assoc = 8
59 hit_latency = 20
60 response_latency = 20
61 mshrs = 20
62 tgts_per_mshr = 12
63 write_buffers = 8
64
65class IOCache(BaseCache):
66 assoc = 8
69 block_size = 64
70 hit_latency = 50
71 response_latency = 50
72 mshrs = 20
73 size = '1kB'
74 tgts_per_mshr = 12
75 forward_snoops = False
76 is_top_level = True
77
78class PageTableWalkerCache(BaseCache):
79 assoc = 2
67 hit_latency = 50
68 response_latency = 50
69 mshrs = 20
70 size = '1kB'
71 tgts_per_mshr = 12
72 forward_snoops = False
73 is_top_level = True
74
75class PageTableWalkerCache(BaseCache):
76 assoc = 2
80 block_size = 64
81 hit_latency = 2
82 response_latency = 2
83 mshrs = 10
84 size = '1kB'
85 tgts_per_mshr = 12
86 is_top_level = True
77 hit_latency = 2
78 response_latency = 2
79 mshrs = 10
80 size = '1kB'
81 tgts_per_mshr = 12
82 is_top_level = True