L2 ECC implementation
First Claim
Patent Images
1. A method for implementing error code correction (ECC) protection with respect to a read operation to an external memory via an intermediary cache, the method comprising:
- issuing a read command to the external memory to retrieve a word of data comprised of a plurality of bytes;
reading the plurality of bytes returned from the external memory in response to the read command;
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.
11 Citations
18 Claims
-
1. A method for implementing error code correction (ECC) protection with respect to a read operation to an external memory via an intermediary cache, the method comprising:
-
issuing a read command to the external memory to retrieve a word of data comprised of a plurality of bytes; reading the plurality of bytes returned from the external memory in response to the read command; 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. A non transitory computer-readable medium including instructions that, when executed by a processor, cause the processor to implement error code correction (ECC) protection with respect to a read operation to an external memory via an intermediary cache, by performing the steps of:
-
issuing a read command to the external memory to retrieve a word of data comprised of a plurality of bytes; reading the plurality of bytes returned from the external memory in response to the read command; 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 (8, 9, 10, 11, 12)
-
-
13. A computer system configured to implement error code correction (ECC) protection with respect to a read operation to an external memory via an intermediary cache, the computer system 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; issue a read command to the external memory to retrieve a word of data comprised of a plurality of bytes, read the plurality of bytes returned from the external memory in response to the read command, generate one or more ECC check bits for the plurality of bytes, 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 (14, 15, 16, 17, 18)
-
Specification