1 - A Program for generating and checking CRC codes.
 2
 3CRCDemo comes with ABSOLUTELY NO WARRANTY; for details see the
 4GNU General Public License.  This is free software, and you are welcome
 5to redistribute it under certain conditions; see the GNU General Public License
 6for details.
 7
 8
 9
10CRC-16 test:  x ^ 16 + x ^ 15 + x ^ 2 + 1
11
12Shifted syndrome of codeword       = 0 (should be zero)
13Parity bits                        = 35cf (should be 35cf)
14Shifted syndrome of noisy codeword = a5dc0000 (should be non-zero)
15
16
17CRC-32Q test: x^32+x^31+x^24+x^22+x^16+x^14+x^8+x^7+x^5+x^3+x+1
18Shifted syndrome of codeword       = 0 (should be zero)
19Parity bits                        = 3c371cf (should be 03c371cf)
20Shifted syndrome of noisy codeword = 9b1ba276 (should be non-zero)
21
22
23CRC-CCITT test using shift register preset to FFFFand parity bit inversion:  x ^ 16 + x ^ 12 + x ^ 5 + 1
24Shifted syndrome of codeword       = 0 (should be zero)
25Parity bits                        = 9c47 (should be 9c47)
26Shifted syndrome of noisy codeword = 3dd40000 (should be non-zero)
27
28
29CRC-DNP test using shift register preset to 0 and no parity bit inversionx^16 + x^13 + x^12 + x^11 + x^10 + x^8 + x^6 + x^5 + x^2 + 1
30Shifted syndrome of codeword       = 0 (should be zero)
31Parity bits                        = b1ae (should be b1ae)
32Shifted syndrome of noisy codeword = cdd50000 (should be non-zero)