| CPC G06F 11/102 (2013.01) [G11C 11/1655 (2013.01); G11C 29/52 (2013.01)] | 20 Claims |

|
10. A method, comprising:
providing a plurality of memory macros, each including an array of memory cells and a first ECC circuit;
providing a second ECC circuit communicatively coupled to each of the plurality of memory macros;
refreshing the memory arrays, including carrying out an error detection and correction operation, including carrying out a subset of steps in an error detection and correction operation by checking for data errors in the memory arrays with the first ECC circuits in the respective memory macros;
if any data error is detected by one of the plurality of the first ECC circuits, carrying out remainder steps of the error detection and correction operation in the second ECC circuit, the remainder steps including:
forwarding the detected data errors from the first ECC circuit to the second ECC circuit;
correcting the data error by the second ECC circuit; and
writing the corrected data to the respective memory array; and
if no data error is detected by one of the plurality of the first ECC circuits, ending the error detection and correction operation for the respective memory macro.
|