Patent ID: 7986252

Claim:
A method for removing glitches from a bit stream, comprising: generating a first set of data samples by over-sampling each bit in the bit stream using a plurality of sampling phases of a reference clock; generating a second set of data samples based on comparison of the first set of data samples with a corresponding previous data sample; comparing the second set of data samples with at least one predefined bit mask; identifying at least one data sample in the first set of data samples for replacement based on comparison of the second set of data samples with the at least one predefined bit mask; and replacing the identified at least one data sample in the first set of data samples with a substitute data sample, wherein the substitute data sample is selected from the first set of data samples based on a predefined criterion, and wherein the plurality of sampling phases are partitioned into a plurality of sets of sampling phases, each of the plurality of sets of sampling phases comprising one or more sampling phases.