CPC G11C 16/102 (2013.01) [G11C 16/08 (2013.01); G11C 16/26 (2013.01)] | 26 Claims |
1. An apparatus, comprising:
a memory having a group of memory cells, wherein each respective memory cell of the group is programmable to one of three possible data states; and
circuitry configured to balance data programmed to the group of memory cells between the three possible data states by:
determining whether the data programmed to the group of memory cells is balanced for any one of the three possible data states; and
upon determining the data programmed to the group of memory cells is not balanced for any one of the three possible data states:
apply a rotational mapping algorithm to the data programmed to the group of memory cells until the data is balanced for any one of the three possible data states; and
apply a Knuth algorithm to the data of the group of memory cells programmed to the two of the three possible data states that were not balanced by the rotational mapping algorithm.
|