Different CIC decimator Response in normal simulation and FPGA implementation
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 FPGA, ASIC, and SoC Development 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!