Calibration ADC and algorithm for adaptive predistortion of high-speed DACs