Patent ID: 8169834

Claim:
A sense amplifier used in an Electrically Erasable Programmable Read-only Memory, wherein the sense amplifier includes the following parts: a reference current generation circuit, used for providing a reference current with a settable temperature coefficient for a main circuit of the sense amplifier; a main circuit of the sense amplifier, used for comparing the reference current with a storage cell current, and distinguishing between 0 Storage Cell and 1 Storage Cell; and the reference current generation circuit includes a constant current generation circuit, a proportional absolute temperature current generation circuit, and a mixer circuit; the constant current generation circuit, used for generating the constant current and sending it to the mixer circuit, and meanwhile generating a control voltage to be connected into the main circuit of the sense amplifier; the proportional absolute temperature current generation circuit, used for generating the proportional absolute temperature current and sending it into the mixer circuit; and the mixer circuit, used for mixing the proportional absolute temperature current and the constant current, and generating the reference current with a positive/negative/zero temperature coefficient to be outputted to the main circuit of the sense amplifier.