Patent ID: 7240249

Claim:
A deskewing circuit configured to receive a main clock signal having a period T and a plurality of n data bits in parallel wherein said data bits are misaligned with respect to said main clock signal; said deskewing circuit comprising: a multiphase clock generator coupled to said main clock to generate N/2 clock phases on the rising edge of the main clock and N/2 clock phases on the falling edge thereof, one of said clock phases being selected as the reference clock; a plurality of n samplers, each sampler being coupled to one data bit and to said N clock phases to generate a first set of N/2 sampled signals wherein x varies between 0 and N/2-1 on the positive phases and a second set of N/2 sampled signals on the negative phases; a corresponding plurality of n phase selectors, each phase selector being coupled to said two sets of sampled signals to determine which phase is the best for each set of sampled signals and generate the two selected signals corresponding to that phase on the one hand, and a first control signal on the other hand that indicates when this determination is completed; a control logic block configured to receive a corresponding plurality of n first control signals and a determined pair of sampled signals and in turn, to generate a second control signal that inhibits said phase selectors as soon as said control signals indicate that the best phase has been determined for all said phase selectors; and a data bus gathering all said selected signals for further processing, wherein said selected signals are aligned with said reference clock but misaligned with respect to each other.