Patent ID: 7814376

Claim:
A device for determining the frame boundaries of serialized framed data, the device comprising: a serial to parallel converter for converting the serialized framed data to a parallel framed data; a first register for receiving the parallel framed data from the serial to parallel converter and outputting a first output data word of the parallel framed data at a current cycle clock; a second register for receiving the first output data word, and outputting a second output data word corresponding to a previous first output data word from the first register of a previous cycle clock; a selector having a first port coupled to the second output data word, a second port coupled to a concatenated data word, and a third port configured to select the second output data word or the concatenated data word, wherein the concatenated data word is a concatenation of a portion of the first output data word and a portion of the second output data word; a guesser for guessing a position of a frame boundary in the output data word selected by the selector; a rotator for rotating the selected data word in accordance with the position guessed by the guesser; a third register for storing a previous version of the rotated data word; a select logic unit for combining a portion of the data word held in the rotator and a portion of data word held in the third register to form a data output block comprising two or more synchronization patterns; a fourth register for storing the data output block; a tester coupled to the fourth register for simultaneously monitoring the two or more synchronization patterns in the data output block; a counting mechanism coupled to the tester and being configured to count the number of valid and invalid synchronization patterns; and a state machine determining if the device is in a state of synchronization based on the counting mechanism, wherein said state machine is coupled to the third port of the selector and alternately provides the second output data word or the concatenated data word to the guesser and the rotator.