VIPS,
What kind of bandwidth and clock frequency are you working with to end up with a 512 bit wide databus?
In any case: you're looking for a 6 bit pattern in a 512 bit databus, so you'll need a 512+(6-1)=517
bit wide sliding window. You can either do this in multiple clock cycles, or split the databus into
small parts with a 5 bit overlap, and combine the results. In either case, it's wise to separate your
framing algorithm from your data handling part, and don't look at the data until you're in-frame.
With regards to your framing algorithm: build in some rebustness against bit errors and false framing
patterns.
Kind regards,
Pieter Hulshoff
|