Forum Discussion
Altera_Forum
Honored Contributor
16 years agoCRC Compiler - IP Packet checksum
Hi I am trying to parse IP Ethernet packet in FPGA and planning to use CRC compiler to generate checksum for IP packet header and ethernet packet. If I use option CRC code as CRC-32 works fi...
Altera_Forum
Honored Contributor
16 years agoIf your referring to IPv4, the checksum is really a checksum rather than a crc. RFC0791 specifies:
--- Quote Start --- The checksum field is the 16 bit one's complement of the one's complement sum of all 16 bit words in the header. For purposes of computing the checksum, the value of the checksum field is zero. --- Quote End ---