An offset compensated memory element voltage supply including a
differential amplifier with a compensation circuit, and a transistor with
a gate connected to the output of the differential amplifier. The
compensation circuit of the differential amplifier includes a
compensation capacitor that stores a compensation voltage during a
calibration phase, and applies the stored compensation voltage to a
compensation input of the compensation circuit of the amplifier during a
measurement phase. Feedback from a source of the transistor controls the
output of the differential amplifier to maintain a standard voltage
across a resistive memory element connected to the source during
measurement of the resistance of the resistive memory element, and the
compensation circuit improves the accuracy of the voltage across the
resistive memory element by compensating for an offset voltage of the
differential amplifier.