Method and apparatus for selecting cache ways available for replacement
Abstract
In a multi-way cache, a method for selecting N ways available for replacement includes providing a plurality of rulesets where each one of the plurality of rulesets specifies N ways in the cache that are available for replacement (where N is equal to or greater than zero). The method further includes receiving an access address, and using at least a portion of the access address to select one of the plurality of rulesets. The selected one of the plurality of rulesets may then be used to select N ways in that cache that are available for replacement. One embodiment uses the high order bits of the access address to select a ruleset. An alternate embodiment uses at least a portion of the access address and a ruleset selector control register to select the ruleset. Yet another embodiment uses the access address and address range comparators to select the ruleset.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 3.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
In a cache having a plurality of ways, a method for selecting N ways available for replacement, comprising: providing a plurality of rulesets, wherein each one of the plurality of rulesets specifies N ways in the cache that are available for replacement, wherein N is an integer equal to or greater than zero; receiving an access address; using at least a portion of the access address to select a selected one of the plurality of rulesets; and using the selected one of the plurality of rulesets, selecting N ways in the cache that are available for replacement.
- Claim 2Depends on #1
A method as in claim 1 , wherein the least a portion of the access address comprises a plurality of contiguous access address bits.
- Claim 3Depends on #1
A method as in claim 1 , further comprising: providing a first programmable bit to enable replacement of a first one of the plurality of ways.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (1)
- PPC440CPU Core User's Manual: Jul. 18, 2002; pp 94-97; Jul. 18, 2002: pp 94-97; IBM.