| CPC G11C 16/24 (2013.01) [G11C 16/0483 (2013.01)] | 20 Claims |

|
1. A memory device, comprising:
a memory array; and
a peripheral circuit, comprising:
a page buffer coupled to the memory array and configured to detect fail-bits in the memory array;
a verify fail-bit count (VFC) circuit coupled to the page buffer, wherein the VFC circuit includes a comparator unit configured to determine a mismatch and a trimming unit configured to generate an offset signal to compensate the mismatch in the VFC circuit such that the VFC circuit outputs a quantity of the fail-bits in the memory array, wherein the trimming unit is further configured to:
decrease the offset signal, if the mismatch is positive; and
increase the offset signal, if the mismatch is negative; and
a control circuit coupled to the VFC circuit and configured to control an adjustment of the offset signal.
|