CRC generation in HDL

I need to calculate CRC for a particular data, I tried using CRC HDL code optimized block which is of 32 bit data and crc-16 polynomial but I need to access that block for 28-bit data including error bit and warning bit with CRC- 6 polynomial , how can i use that CRC HDL code optimized block for my specification.

Answers (1)

Bharath Venkataraman
Bharath Venkataraman on 26 Nov 2019

0 votes

You can set the CRC polynomial on the block and send in the bits either serially or multiple bits at a time based on your polynomial.
See this example for further information.

Asked:

on 15 Nov 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!