View Single Post
  #10 (permalink)  
Old 07-07-2004, 08:53 AM
ALuPin
Guest
 
Posts: n/a
Default Re: crc32 vhdl implementation (4 bit data)

> Yes, all CRC's produce a residual - it is a function of the following items:
>
> * The CRC polynomial being used (CRC-16 vs. CRC-CCITT vs. CRC-32, etc)
> * The initial value (sometimes all 1's, but not always)
> * Bit and byte ordering (application dependant)
> * Bit inversion (application dependant: sometimes XOR with all 1's)
>
>
> Have fun,
>
> Marc


Hi Marc,

thank you for your answer.

I want to use a CRC16 with the polynomial 0XBAAD (paper "Cyclic
Redendany Code
Poynomial Selection for Embedded Networks" Philip Koopman).

But when I simulate it (VHDL code generated by CRC TOOL) and
initialize it with '1's than I do not get a residual when trying
different data to calculate.
So maybe there has to be used a different initial value. But how do I
get to know
which one to use as initial value?

Kind regards
Reply With Quote