Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

CRC Calculation - VHDL

Hello to all forum members!!!

I'll be glad to get your's suggestions to solve my problem.

I am interested to make the CRC Calculation as fast as possible (without using the MegaWizard function).

In order to make the calculation as fast as possible, I used the "variables" and not the signals. The purpose of VHDL Code is doing something like 250 xor actions(5 actions on every byte while the data telegram build from 53 bytes). During the sumalition (ModelSim) I got the right results. Pending one clock the result is ready!

Of course, it's uncompareable to real FPGA chip perfomance.

I did the Quartus TimeQuest analyze with 50MHz oscillator. The result was really bad. The parameters that failed are:

  • Report SetUp Summary

  • Fmax is something like 20Mhz

And now the question's time :) How can the setup time be affected if I didn't use the clock during calculation (before CRC it was OK)? As i know, SetUp time is a parameter that defines how much time the data has to be stable before changing the clk edge. How can I increase the Fmax of the design.(before CRC Fmax was ~ 120MHz)

thanks for every offer!!!

Y.

17 Replies