Aspects of providing automatic adaptation to frequency offsets in high
speed serial links are described. First signals for phase adjusts in a
receiver link are adjusted by detecting trends in the first signals to
generate second signals, the second signals improving a rate of
compensation for the frequency offsets by the phase adjusts. An up/down
counter is included for counting signals for phase adjustments by a
clock-data-recovery loop of a serial receiver. An adder is coupled to the
up/down counter and outputs accumulated data indicative of a trend in the
phase adjustments. Combinatorial logic coupled to the adder adapts the
signals based on the accumulated data.