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 --- 52 unchanged lines hidden (view full) --- 61 warmup_percentage = Param.Percent(Parent.warmup_percentage, 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" |