CPC G06F 11/1068 (2013.01) [G06F 3/0619 (2013.01); G06F 3/064 (2013.01); G06F 3/0679 (2013.01); G11C 29/52 (2013.01); G11C 2029/0409 (2013.01); G11C 2029/0411 (2013.01); G11C 29/70 (2013.01)] | 13 Claims |
1. A memory device comprising:
a memory array including a plurality of memory cells;
a controller configured to control at least two operations, each of the at least two operations including access to the memory array; and
a counter configured to generate an address for accessing memory cell rows in the memory array under control of the controller,
wherein the controller is configured to perform an error check and correction (ECC) decoding sequentially on data stored in the plurality of memory cells designated by the address in response to the controller receiving a command among a plurality of commands,
wherein the controller is configured to correct the data when the ECC decoding indicates the data includes at least one error bit and output the corrected data to a memory controller, when the command designates a normal mode, and
wherein the controller is configured to correct the data when the ECC decoding indicates the data includes at least one error bit, and write back the corrected data to the memory array, when the command designates an error check and scrub (ECS) mode.
|