Deleted Added
sdiff udiff text old ( 12665:4ca9fc117b95 ) new ( 12752:6a0e3eb1cc5d )
full compact
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

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

62 "Percentage of tags to be touched to warm up the cache")
63
64 sequential_access = Param.Bool(Parent.sequential_access,
65 "Whether to access tags and data sequentially")
66
67class BaseSetAssoc(BaseTags):
68 type = 'BaseSetAssoc'
69 cxx_header = "mem/cache/tags/base_set_assoc.hh"
70 assoc = Param.Int(Parent.assoc, "associativity")
71
72 # Get replacement policy from the parent (cache)
73 replacement_policy = Param.BaseReplacementPolicy(
74 Parent.replacement_policy, "Replacement policy")
75
76class FALRU(BaseTags):
77 type = 'FALRU'
78 cxx_class = 'FALRU'
79 cxx_header = "mem/cache/tags/fa_lru.hh"
80
81 min_tracked_cache_size = Param.MemorySize("128kB", "Minimum cache size for"
82 " which we track statistics")