hi, I have to calculate crc32 of data length greater than 256 bytes and width may be up to 9000 bytes.how this code can be extended for require data width?
If you want a data width bigger than 256bits, you can just increase the integer range of the DATA_WIDTH generic to anything you want. But be warned that using a data width of thousands or tens of thousands of bits will result in a massive xor-logic, which will clock very slowly (and take a lot of resources).
The most efficient way to calculate CRC of large data sets is to split it into words (say 32bit) and cycle through the data.
rgds Geir
thank you