CPC G11C 29/42 (2013.01) [G11C 11/40615 (2013.01); G11C 29/20 (2013.01); G11C 29/44 (2013.01)] | 19 Claims |
1. A memory device comprising:
a memory cell array including a plurality of memory cells arranged into a plurality of memory cell rows, each of the plurality of memory cell rows storing a codeword;
a scrubbing control circuit configured to perform a scrubbing operation on the plurality of memory cells;
an error correction code (ECC) circuit configured to read the codeword from at least one of the plurality of memory cell rows and perform an error detection operation on the codeword; and
a control logic circuit configured to control the ECC circuit to perform a writeback operation or not to perform the writeback operation on the codeword according to the error detection operation performed by the ECC circuit,
wherein the ECC circuit is configured to generate an error generation signal in the error detection operation based on detecting at least one error bit in the codeword, and
wherein the control logic circuit is configured to count a number of error occurrences of the codeword based on the error generation signal, and control the ECC circuit to perform the writeback operation or not perform the writeback operation based on comparing the number of error occurrences of the codeword with a reference value.
|