IP Library Granted Patent US 8,990,657
Granted Patent B2
US 8,990,657 · App. 13/159,878 · Granted Mar 24, 2015

Selective masking for error correction

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 8,990,657
App. No.
13/159,878
Granted
Mar 24, 2015
Kind
B2
Abstract

Error correction code (ECC) checkbits are generated for each write access to a memory address based on both the data to be written (the write data) and the memory address. The data processing device employs multiple-mapped or multi-port memory, whereby different memory addresses can be associated with the same memory location. To generate the ECC checkbits the data processing device selects a mask for each write access based on the write address and determines the ECC checkbits based on the write data, the write address, and the mask.

Claims (67)

1. In a data processing device comprising a processor unit coupled to a memory, a method comprising:

receiving a memory access request comprising a memory address and data;

determining a mask based on the memory address; and

determining error correction code (ECC) checkbits based on the memory access request and based on the mask, wherein the mask prevents any memory address mismatch bits of the memory access request from impacting the ECC checkbits, wherein the memory address mismatch bits are differences at particular bit locations of different addresses associated with a multiple-mapped memory location.

2. The method of claim 1 , wherein:

determining the ECC checkbits comprises combining a plurality of address bits of the memory address to determine the ECC checkbits; and

determining the mask comprises:

in response to the memory address being one of a first set of addresses, selecting the mask such that the ECC checkbits are based on the state of a selected one of the plurality of address bits; and

in response to the memory address being one of a second set of addresses, selecting the mask such that the ECC checkbits are not based on the state of the selected one of the plurality of address bits.

3. The method of claim 2 , wherein combining the plurality of address bits comprises combining the plurality of address bits according to an exclusive-or operation.

4. The method of claim 1 , wherein determining the ECC checkbits comprises:

applying the mask to the memory address according to a first logical operation to determine a first set of bits;

combining the first set of bits according to a second logical operation to determine a second set of bits; and

determining the ECC checkbits based on the second set of bits.

5. The method of claim 4 , wherein the data comprises a set of data bits, and wherein determining the ECC checkbits comprises:

combining the set of data bits according to a third logical operation to determine a third set of bits; and

combining the second set of bits and the third set of bits according to a fourth logical operation to determine the ECC checkbits.

6. The method of claim 1 , wherein the memory address comprises a set of memory address bits, and wherein determining the ECC checkbits comprises:

combining the set of memory address bits according to first logical operation to determine a first set of bits;

combining the mask with the first set of bits to determine a second set of bits; and

determining the ECC checkbits based on the second set of bits.

7. The method of claim 6 , wherein the data comprises a set of data bits, and wherein determining the ECC checkbits comprises:

combining the set of data bits according to a third logical operation to determine a third set of bits; and

combining the second set of bits and the third set of bits according to a fourth logical operation to determine the ECC checkbits.

8. A method, comprising:

generating at a source module a write access comprising a memory address and data;

determining at the source module a mask based on the memory address;

determining at the source module error correction code (ECC) checkbits based on the memory access request and based on the mask, wherein the mask prevents any memory address mismatch bits of the memory access request from impacting the ECC checkbits, wherein the memory address mismatch bits are differences at particular bit locations of different addresses associated with a multiple-mapped memory location;

providing the data and ECC checkbits via an interconnect for storage at a memory;

receiving the data and the ECC checkbits from the memory at a requesting module via the interconnect in response to a read access; and

performing at the requesting module error detection based on the ECC checkbits.

9. The method of claim 8 , wherein determining the mask comprises:

in response to the memory address being a first address, selecting the mask such that the ECC checkbits are based on a first set of address bits of the memory address; and

in response to the memory address being a second address, selecting the mask such that the ECC checkbits are based on a second set of address bits of the memory address, the first set of address bits different from the second set of address bits.

10. The method of claim 8 , wherein determining the ECC checkbits comprises:

applying the mask to the memory address according to a first logical operation to determine a first set of bits;

combining the first set of bits according to a second logical operation to determine a second set of bits; and

determining the ECC checkbits based on the second set of bits.

11. The method of claim 10 , wherein the data comprises a set of data bits, and wherein determining the ECC checkbits comprises:

combining the set of data bits according to a third logical operation to determine a third set of bits; and

combining the second set of bits and the third set of bits according to a fourth logical operation to determine the ECC checkbits.

12. The method of claim 8 , wherein the memory address comprises a set of memory bits, and wherein determining the ECC checkbits comprises:

combining the set of memory bits according to first logical operation to determine a first set of bits;

combining the mask with the first set of bits to determine a second set of bits; and

determining the ECC checkbits based on the second set of bits.

13. The method of claim 12 , wherein the data comprises a set of data bits, and wherein determining the ECC checkbits comprises:

combining the set of data bits according to a third logical operation to determine a third set of bits; and

combining the second set of bits and the third set of bits according to a fourth logical operation to determine the ECC checkbits.

14. The method of claim 8 , wherein determining the mask comprises looking up the mask in a stored table based on the memory address.

15. A device, comprising:

a mask module to determine a mask based on a received memory address associated with a memory access request; and

an ECC module to generate ECC checkbits for the memory access request based on the memory address and the mask, wherein the mask prevents any memory address mismatch bits of the memory access request from impacting the ECC checkbits, wherein the memory address mismatch bits of the memory address are bit locations of the memory address that can vary from a different memory address that accesses a same location as the memory address.

16. The device of claim 15 , wherein:

the ECC module is to combine a plurality of address bits of the memory address to determine the ECC checkbits; and

the mask module is to:

in response to the memory address being one of a first set of addresses, select a mask such that the ECC checkbits are based on the state of a selected one of the plurality of address bits; and

in response to the memory address being one of a second set of addresses, select a mask such that the ECC checkbits are not based on the state of the selected one of the plurality of address bits.

17. The device of claim 15 further comprising a memory comprising a plurality of memory locations.

18. The device of claim 15 , wherein the ECC module comprises:

a first logic module to combine the mask and the memory address according to a first logical operation to determine a first set of bits;

a second logic module to combine the first set of bits according to a second logical operation to determine a second set of bits; and

a third logic module to determine the ECC checkbits based on the second set of bits.

19. The device of claim 15 , wherein the memory address comprises a set of memory bits, and wherein the ECC module comprises:

a first logic module to combine the set of memory bits according to first logical operation to determine a first set of bits;

a second logic module to combine the mask with the first set of bits to determine a second set of bits; and

a third logic module to determine the ECC checkbits based on the second set of bits.

20. The method of claim 1 , wherein determining the mask comprises looking up the mask in a stored table based on the memory address.

Assignments (32)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 11, 2026
From: NXP USA, INC.
To: NEX-X SILICON LLC
Reel/Frame 075615/0773 →
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 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0387 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042762 FRAME 0145. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051145/0184 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051030/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12298143 PREVIOUSLY RECORDED ON REEL 042985 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Oct 22, 2019
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 051029/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050745/0001 →
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 APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 039361 FRAME 0212. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042762/0145 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12681366 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded May 9, 2017
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 042985/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 PREVIOUSLY RECORDED AT REEL: 040652 FRAME: 0241. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER AND CHANGE OF NAME. Recorded Jan 5, 2017
From: FREESCALE SEMICONDUCTOR, INC.
To: NXP USA, INC.
Reel/Frame 041260/0850 →
MERGER Recorded Nov 8, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: NXP USA, INC.
Reel/Frame 040652/0241 →
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 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 12092129 PREVIOUSLY RECORDED ON REEL 038017 FRAME 0058. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY AGREEMENT SUPPLEMENT. Recorded Jul 14, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039361/0212 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
SECURITY AGREEMENT SUPPLEMENT Recorded Mar 7, 2016
From: NXP B.V.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 038017/0058 →
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 037357/0285 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0387 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037357/0334 →
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 Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027622/0477 →
SECURITY AGREEMENT Recorded Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027622/0075 →
SECURITY AGREEMENT Recorded Jan 31, 2012
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 027621/0928 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 14, 2011
From: MOYER, WILLIAM C.
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 026442/0346 →