A current mode multilevel memory using flash A/D converters