L2 ECC implementation
First Claim
Patent Images
1. A method for implementing error code correction (ECC) protection with respect to a write operation to an external memory via an intermediary cache, the method comprising:
- receiving a write command that includes a word of data comprised of a plurality of bytes;
determining whether all bytes in the plurality of bytes are enabled or coherent;
once all bytes in the plurality of bytes are enabled or coherent, generating one or more ECC check bits for the plurality of bytes; and
storing the one or more ECC check bits in the intermediary cache instead of storing a byte enable for each byte in the plurality of bytes.
1 Assignment
0 Petitions
Accused Products
Abstract
One embodiment of the present invention sets forth a method for implementing ECC protection in an on-chip L2 cache. When data is written to or read from an external memory, logic within the L2 cache is configured to generate ECC check bits and store the ECC check bits in the L2 cache in space typically allocated for storing byte enables. As a result, data stored in the L2 cache may be protected against bit errors without incurring the costs of providing additional storage or complex hardware for the ECC check bits.
-
Citations
20 Claims
-
1. A method for implementing error code correction (ECC) protection with respect to a write operation to an external memory via an intermediary cache, the method comprising:
-
receiving a write command that includes a word of data comprised of a plurality of bytes; determining whether all bytes in the plurality of bytes are enabled or coherent; once all bytes in the plurality of bytes are enabled or coherent, generating one or more ECC check bits for the plurality of bytes; and storing the one or more ECC check bits in the intermediary cache instead of storing a byte enable for each byte in the plurality of bytes. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable storage medium including instructions that, when executed by a processor, causes the processor to implement error code correction (ECC) protection with respect to a write operation to an external memory via an intermediary cache, by performing the steps of:
-
receiving a write command that includes a word of data comprised of a plurality of bytes; determining whether all bytes in the plurality of bytes are enabled or coherent; once all bytes in the plurality of bytes are enabled or coherent, generating one or more ECC check bits for the plurality of bytes; and storing the one or more ECC check bits in the intermediary cache instead of storing a byte enable for each byte in the plurality of bytes. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system configured to implement error code correction (ECC) protection with respect to a write operation to an external memory via an intermediary cache comprising:
-
a central processing unit (CPU); system memory coupled to the CPU; and a parallel processing subsystem coupled to the CPU and to the external memory and including the intermediary cache, wherein the intermediary cache includes; a data storage element a byte enable storage element, and control logic configured to; receive a write command that includes a word of data comprised of a plurality of bytes, determine whether all bytes in the plurality of bytes are enabled or coherent, once all bytes in the plurality of bytes are enabled or coherent, generate one or more ECC check bits for the plurality of bytes, store the plurality of bytes in the data storage element, and store the one or more ECC check bits in the byte enable storage element instead of storing a byte enable for each byte in the plurality of bytes. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification