摘要 |
A method and system for locating packet boundaries in a bit stream. The method comprises generating a checksum from a first bit stream, and recovering the first bit stream according an intermediate result which is generated during the checksum processing. The step of generating the checksum comprises dividing the first bit stream by a first polynomial to obtain a second bit stream, delaying the second bit stream by a first delay amount to form a third bit stream, multiplying the third bit stream by a second polynomial to obtain a fourth bit stream, adding the second and fourth bit streams to form a fifth bit stream, and correlating the fifth bit stream with a preset pattern to output a sync signal. The input bit stream can be recovered according to the third bit stream. The sync signal indicates the location of the packet boundary in the delayed first bit stream.
|