Cache.py (11197:f8fdd931e674) | Cache.py (11199:929fd978ab4e) |
---|---|
1# Copyright (c) 2012-2013, 2015 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 --- 89 unchanged lines hidden (view full) --- 98 # blocks are allocated on all fill operations. Thus, L1 caches 99 # should be set as mostly inclusive even if they have no upstream 100 # caches. In the case of a mostly exclusive cache, fills are not 101 # allocating unless they came directly from a non-caching source, 102 # e.g. a table walker. Additionally, on a hit from an upstream 103 # cache a line is dropped for a mostly exclusive cache. 104 clusivity = Param.Clusivity('mostly_incl', 105 "Clusivity with upstream cache") | 1# Copyright (c) 2012-2013, 2015 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 --- 89 unchanged lines hidden (view full) --- 98 # blocks are allocated on all fill operations. Thus, L1 caches 99 # should be set as mostly inclusive even if they have no upstream 100 # caches. In the case of a mostly exclusive cache, fills are not 101 # allocating unless they came directly from a non-caching source, 102 # e.g. a table walker. Additionally, on a hit from an upstream 103 # cache a line is dropped for a mostly exclusive cache. 104 clusivity = Param.Clusivity('mostly_incl', 105 "Clusivity with upstream cache") |
106 107 # Determine if this cache sends out writebacks for clean lines, or 108 # simply clean evicts. In cases where a downstream cache is mostly 109 # exclusive with respect to this cache (acting as a victim cache), 110 # the clean writebacks are essential for performance. In general 111 # this should be set to True for anything but the last-level 112 # cache. 113 writeback_clean = Param.Bool(False, "Writeback clean lines") |
|