| CPC G06F 11/1068 (2013.01) [G06F 11/1048 (2013.01); G11C 29/52 (2013.01); H03M 13/05 (2013.01); H03M 13/09 (2013.01)] | 20 Claims |

|
1. A memory device, comprising:
a memory cell array including a plurality of memory cells;
a write command circuit configured to receive a read-modify-write (RMW) command;
a first pin configured to receive write data;
a second pin configured to receive a data masking signal;
a data modulation circuit configured to:
read first data from the memory cell array;
receive the write data through the first pin and the data masking signal through the second pin; and
generate modulation data by replacing a portion of the first data from the memory cell array with a first portion of the write data; and
an error correction code (ECC) circuit configured to generate first parity data based on the modulation data, and store a codeword including the modulation data and the first parity data, in the memory cell array.
|