31.2.7.7 CRC Example Configurations
The following table shows an example CRC configuration with a polynomial size of 32. For each term (xn) of the polynomial used, a corresponding bit in the CRCPOLY Register is set to ‘1’. This polynomial implements CRC-32-IEEE 802.3.
Field Name | Bit Value | Description |
---|---|---|
CRCMODE.PLEN32 | 1 | Polynomial Length is 32-bits |
CRCPOLY |
| CRC polynomial:
x32 + x26 + x23 + x22 + x16 + x12 + x11 + x10 + x8 + x7 + x5 + x4 + x2 + x + 1 |
The following table shows an example CRC configuration with the polynomial size of 16. The value of CRCPOLY shows the 12th bit and the 5th bit set to ‘1’, as required by the equation. The 0th bit required by the equation is always XOR'd.
Field Name | Bit Value | Description |
---|---|---|
CRCMODE.PLEN32 | 0 | Polynomial Length is 16-bits |
CRCPOLY |
| CRC polynomial: x16 + x12 + x5 + 1 |