Abstract:
A circuit for receiving data in an integrated circuit is described. The circuit comprises a receiver (304) configured to receive an input signal and to generate output data based upon the input signal, the receiver having a level detection circuit (310) coupled to receive the input signal; and a calibration circuit (308) coupled to the receiver, the calibration circuit having an input (306) for receiving the input signal; an error detection circuit (31 1 ) coupled to the input, the error detection circuit coupled to receive the input signal, a first reference voltage and a second reference voltage; and a control circuit (340) coupled to an output of the error detection circuit, wherein the control circuit selectively generates either an offset control signal or an amplitude control signal based upon comparisons of the input signal to the first reference voltage and the second reference voltage. A method of receiving data is also disclosed.