IP Library Granted Patent US 6,973,540
Granted Patent B2
US 6,973,540 · App. 10/627,559 · Granted Dec 6, 2005

Method and apparatus for selecting cache ways available for replacement

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,973,540
App. No.
10/627,559
Granted
Dec 6, 2005
Kind
B2
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.

Claims (43)

1. 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.

2. A method as in claim 1 , wherein the least a portion of the access address comprises a plurality of contiguous access address bits.

3. 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.

4. A method as in claim 3 , further comprising:

providing a second programmable bit to enable replacement of a second one of the plurality of ways.

5. A method as in claim 4 , wherein a first one of the plurality of rulesets comprises the first and second programmable bits.

6. A method as in claim 5 , further comprising:

providing a third programmable bit to enable replacement of the first one of the plurality of ways; and

providing a fourth programmable bit to enable replacement of the second one of the plurality of ways,

wherein a second one of the plurality of rulesets comprises the third and fourth programmable bits.

7. A method as in claim 1 , wherein the at least a portion of the access address comprises a plurality of bits, and wherein the plurality of bits comprises a highest order bit of the access address.

8. A method as in claim 1 , wherein the at least a portion of the access address has no further use in the cache.

9. A method as in claim 1 , further comprising:

selecting a plurality of bits of the access address to use as the at least a portion of the access address.

10. A method as in claim 1 , further comprising:

decoding the at least a portion of the access address, wherein said step of decoding is performed before said step of using at least a portion of the access address to select a selected one of the plurality of rulesets.

11. A method as in claim 1 , further comprising:

providing a ruleset selection control register which receives the at least a portion of the access address and which provides a ruleset indicator for selecting at least one of the plurality of rulesets.

12. A method as in claim 1 , further comprising:

providing a first address range corresponding to a first one of the plurality of rulesets; and

determining if the access address is within the first address range.

13. A method as in claim 12 , further comprising:

providing a second address range corresponding to a second one of the plurality of rulesets; and

determining if the access address is within the second address range.

14. A method as in claim 13 , further comprising:

if the access address is not within the first address range and is not within the second address range, using a default ruleset from the plurality of rulesets.

15. A method as in claim 1 , wherein the cache is formed as a portion of an integrated circuit.

16. An integrated circuit comprising a cache having a plurality of ways, the cache comprising:

ruleset selection circuitry comprising ruleset storage circuitry for storing 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, the ruleset selection circuitry uses at least a portion of an access address to provide at least one selected ruleset signal; and

replacement control circuitry, coupled to the ruleset selection circuitry to receive the at least one selected ruleset signal, the replacement control circuitry uses the at least one selected ruleset signal to select N ways in the cache that are available for replacement.

17. An integrated circuit as in claim 16 , wherein the ruleset selection circuitry further comprises:

first storage circuitry for storing one of a base address value and a lower bound value; and

second storage circuitry for storing one of a mask value and an upper bound value.

18. Cache control circuitry, comprising:

storage circuitry for storing a plurality of rulesets;

circuitry coupled to said storage circuitry, wherein said circuitry uses a portion of an access address to generate a ruleset indicator, said ruleset indicator being used to select at least one of the plurality of rulesets, and

wherein said one of the plurality of rulesets is used to select at least zero or more ways in the cache that are available for replacement.

19. The cache control circuitry of claim 18 , wherein said storage circuitry comprises at least one user programmable control register.

Assignments (22)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NATURE OF CONVEYANCE LISTED CHANGE OF NAME SHOULD BE MERGER AND CHANGE PREVIOUSLY RECORDED AT REEL: 040652 FRAME: 0180. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER AND CHANGE OF NAME. Recorded Jan 12, 2017
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 041354/0148 →
CHANGE OF NAME Recorded Nov 8, 2016
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 040652/0180 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0143 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0553 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037354/0225 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →
SECURITY AGREEMENT Recorded Jun 18, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030633/0424 →
SECURITY AGREEMENT Recorded May 13, 2010
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 024397/0001 →
SECURITY AGREEMENT Recorded Feb 2, 2007
From: FREESCALE SEMICONDUCTOR, INC.; FREESCALE ACQUISITION CORPORATION; FREESCALE ACQUISITION HOLDINGS CORP.; FREESCALE HOLDINGS (BERMUDA) III, LTD.
To: CITIBANK, N.A. AS COLLATERAL AGENT
Reel/Frame 018855/0129 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 7, 2004
From: MOTOROLA, INC
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 015360/0718 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 25, 2003
From: MOYER, WILLIAM C.; VAGLICA, JOHN J.
To: MOTOROLA, INC.
Reel/Frame 014338/0770 →