Four-valued memory circuit using three-peak MOS-NDR devices and circuits