OpenCores
Issue List
need of crc32 of data width greater than 256 byes #5
Closed jainendra opened this issue over 11 years ago
jainendra commented over 11 years ago

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?

gedra commented over 11 years ago

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

gedra closed this over 11 years ago
jainendra commented over 11 years ago

thank you


Assignee
No one
Labels
Request