A current-mode sense amplifier for low voltage non-volatile memories