Full neural gray code based ADC