View Single Post
  #4 (permalink)  
Old 02-04-2010, 03:41 AM
rickman
Guest
 
Posts: n/a
Default Re: What is the most area efficient CRC method

On Feb 3, 10:13*am, Petter Gustad <newsmailco...@gustad.com> wrote:
> "dlopez" <d@n_o_s_p_a_m.designgame.ca> writes:
> > If I want to save area, is it better to use a CRC that works byte
> > per byte or bit per bit?

>
> Per bit as it is simply a shift register with xor gates at the
> polynomial positions.
>
> Here is a sample program to symbolically convert a serial form to a
> parallel form:
>
> http://tinyurl.com/ygvenaz


To do a serial CRC calculation requires a state machine to control
it. A parallel CRC has to perform multiple xors for each bit using
extra logic compared to the bit serial version, the difference
depending on the size of the CRC. The question is which uses more
logic, a byte parallel CRC generator or the control logic for the
state machine. Depending on the CRC chosen, I bet it is close to a
wash, but the only way to know for sure is to build both and see.
Reply With Quote