Diamond: How to get the the 32-bit checksum of bitstream file?

Diamond: How to get the the 32-bit checksum of bitstream file?

The data checksum calculation algorithm is just the sum of all the 1s bit starting from the first to the last bit in the field. The 16-bit checksum is only take the 16-bit LSB value (8-bit words). The 32-bit checksum should take the whole 32-bit value (16-bit words).