Sense Amplifier Design for A NOR Type Non-Volatile Memory