Patent ID: 8363477

Claim:
A flash memory device with auto-trimming functionality, the flash memory device comprising: a memory cell array comprising: a plurality of first memory cells; and a fuse sector comprising a plurality of second memory cells; a read circuit electrically connected to the plurality of first memory cells for reading a memory state of the plurality of first memory cells; an offset circuit for outputting offset current values according to an input current value; and an auto-trimming circuit comprising: a register for storing a current characteristic; a current control module for modifying an input current applied to a first memory cell of the plurality of first memory cells under test at a first address according to the memory state, and updating the current characteristic to the modified input current; an address counter for starting application of the modified input current to a second memory cell of the plurality of first memory cells at a second address for test when reading the first memory cell passes; and a programming circuit for transmitting the current characteristic to the offset circuit when the current control module updates the current characteristic to a limit input current or the plurality of memory cells has been read, receiving the offset current values from the offset circuit, and programming the fuse sector according to the current characteristic and the offset current values.