| CPC G11C 11/1675 (2013.01) [G11C 11/1655 (2013.01); G11C 11/1657 (2013.01); G11C 11/1673 (2013.01); G11C 11/1697 (2013.01)] | 13 Claims |

|
1. An operating method of a memory device, the method comprising:
writing a memory device to a first state;
counting fail bits of the memory device that are programmed to the first state by using a first plurality of resistors having different values, the first plurality of resistors corresponding to each of a plurality of reference resistors;
writing the memory device to a second state;
counting fail bits of the memory device that are programmed to the second state by using the first plurality of resistors;
selecting a selected reference resistor from the first plurality of resistors based on (A) counting results associated with the first state and (B) counting results associated with the second state; and
determining a value of a write voltage for the memory device based on a value of the selected reference resistor.
|