let us know the polynomial that you want to generate the CRC for. based on the data width, it ll usually take that many clock cycles unless you want to go for a parallel CRC. as far as i know, the encoder and decoder are the same. The same procedure is followed in Tx and Rx to generate crc.
hi.
first go throgh the basics of CRC by reading some DIGITAL COMMUNICATION Book, decide the poly nomial you want to implement & write down the RTL accordingly.
if u see the block diagram u will get to know the idea of implementing CRC .