Methodology for the Digital Calibration of Analog Circuits a