Real-time implementation of a method for {ADC} nonlinearity reduction