CPC G06F 3/0625 (2013.01) [G06F 3/0659 (2013.01); G06F 3/0673 (2013.01); G06F 11/00 (2013.01)] | 20 Claims |
1. A method for a memory system comprising a memory device, the method comprising:
receiving data that is to be written into the memory device, the memory device including memory cells, each memory cell having a first state and a second state, the data including bits each corresponding to one of the first state and the second state;
counting a first bit number of the bits corresponding to the first state and a second bit number of the bits corresponding to the second state in the received data;
in response to the second bit number of the bits corresponding to the second state being larger than the first bit number of the bits corresponding to the first state, performing a first flipping operation to flip the bits in the received data; and
storing the received data with the flipped bits to the memory device.
|