Patent ID: 7991097

Claim:
A method for adjusting a serial data signal, which comprises a plurality of sets of bits, the method comprising the steps of: over-sampling one set of bits in said serial data signal to generate a first set of over-sampled bits; executing a comparison on every adjacent two bits of the first set of over-sampled bits to generate one set of edge bits; determining a delay operation according to the set of edge bits; and executing a displacement operation on next sets of bits in the serial data signal according to the delay operation; wherein the set of edge bits comprises a plurality of sub-sets of the edge bits; and the step of determining the delay operation comprises: separately counting the numbers of “1”s corresponding to the sub-sets of the edge bits; comparing the numbers of “1”s to obtain a reference bit, which is the bit having the maximum number of “1”s in the sub-sets of the edge bits; controlling a delay phase according to the reference bit to determine the delay operation; keeping the delay phase when the reference bit is an intermediate bit; increasing the delay phase when a power of the reference bit is higher than a power of the intermediate bit; and decreasing the delay phase when the power of the reference bit is lower than the power of the intermediate bit.