Different CIC decimator Response in normal simulation and FPGA implementation

4 ビュー (過去 30 日間)
muhammad ahmad
muhammad ahmad 2022 年 6 月 9 日
I am trying to implement CIC decimator on ZYNQ706 FPGA. when I run the simulation in simulink it downsamples the signal and all the signal at output are at same position as were before the CIC decimator block. but when i implement the same model the signals position at the output of CIC block varies the position although the provided parameters are same as simulink simulation.. please let me know what could be the reasons for this odd output and how could i resolve the issue

回答 (1 件)

Bharath Venkataraman
Bharath Venkataraman 2022 年 6 月 9 日
It would be helpful to see your model - are you using the CIC Decimation block? Did you build your own? Have you tired using the CIC Decimation HDL Optimized block?
Are you able to log the data going in and out of the CIC both in simulation and in hardware? That may give us a clue as to what's going on.
One other thing to do is to run the HDL with the testbench and make sure that passes. You can also do FPGA in the loop to verify that the design works as intended in the FPGA. HDL Verifier also allows a data capture option.
  2 件のコメント
Bharath Venkataraman
Bharath Venkataraman 2022 年 6 月 10 日
I think your question about the design of the CIC decimation filter. If that is right, you can analyze the filter using filterDesigner. Use the multirate panel to design the
You can also create the equivalent filter using dsp.CICDecimator and fvtool or freqz to analyze the filter's responses.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by