Performing multi-bit error correction on a cache line
First Claim
1. A method comprising:
- fragmenting a cache line of a first section of a cache memory into a plurality of segments comprising a first segment and a second segment,generating a first set of data bits and a first set of check bits while encoding a first region of a data stream,storing the first set of data bits in the first segment of the first section of the cache memory and the first set of check bits in a first portion of a second section of the cache memory while the cache memory is operational in a low-power mode and otherwise not generating and storing the first set of check bits, wherein the first portion is associated with the first segment of the first section of the cache memory, to enable correcting errors in multiple bit positions within the first set of data bits using the check bits stored in the first portion of the second section of the cache memory while decoding the first set of data bits.
1 Assignment
0 Petitions
Accused Products
Abstract
A processor may comprise a cache, which may be divided into a first and second section while the processor operates in a low-power mode. A cache line of the first section may be fragmented into segments. A first encoder may generate first data bits and check bits while encoding a first portion of a data stream and a second encoder may, separately, generate second data bits and check bits while encoding a second portion of the data stream. The first data bits may be stored in a first segment of the first section and the check bits in a first portion of the second section that is associated with the first segment. The first decoder may correct errors in multiple bit positions within the first data bits using the check bits stored in the first portion and the second decoder may, separately, decode the second data bits using the second set of check bits.
20 Citations
23 Claims
-
1. A method comprising:
-
fragmenting a cache line of a first section of a cache memory into a plurality of segments comprising a first segment and a second segment, generating a first set of data bits and a first set of check bits while encoding a first region of a data stream, storing the first set of data bits in the first segment of the first section of the cache memory and the first set of check bits in a first portion of a second section of the cache memory while the cache memory is operational in a low-power mode and otherwise not generating and storing the first set of check bits, wherein the first portion is associated with the first segment of the first section of the cache memory, to enable correcting errors in multiple bit positions within the first set of data bits using the check bits stored in the first portion of the second section of the cache memory while decoding the first set of data bits. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A machine-readable non-transitory storage medium comprising a plurality of instructions that in response to being executed result in a processor comprising:
-
fragmenting a cache line of a first section of a cache memory into a plurality of segments comprising a first segment and a second segment, generating a first set of data bits and a first set of check bits while encoding a first region of a data stream, storing the first set of data bits in the first segment and the first set of check bits in a first portion of a second section of the cache memory while the cache memory is operational in a low-power mode and otherwise not generating and storing the first set of check bits, wherein the first portion is associated with the first segment, to enable correcting errors in multiple bit positions within the first set of data bits using the check bits stored in the first portion of the second section of the cache memory while decoding the first set of data bits. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. An apparatus comprising:
-
a central processing unit, and a cache memory coupled to the central processing unit including a control logic to create a plurality of sets each comprising at least one data way and at least one ECC way, wherein during a low-power mode of operation the cache memory is to store check bits into the at least one ECC way to enable correction of multi-bit errors in data stored in the at least one data way, and during a non-low-power mode the cache memory is to store data in the at least one data way and the at least one ECC way. - View Dependent Claims (18, 19, 20, 21, 22, 23)
-
Specification