Difference in the output of CIC decimator while using with unbuffer and without unbuffer

조회 수: 2 (최근 30일)
I am using a CIC decimator block to downsample a high sample rate signal . the CIC decimator output is quite diffrent when i use it without unbuffer. but as for the FPGA apllication i need to unbuffer data the output is changed what could be the possible reason for this ? and how it could be resolved

답변 (1개)

Bharath Venkataraman
Bharath Venkataraman 2022년 6월 13일
편집: Bharath Venkataraman 2022년 6월 13일
Could you please provide a model that shows this behavior (you may want to try it using a fixed known input first)?
Are you sending in the input as a Mx1 array (sending it in as a 1xN array will have the block interpret it as multi-channel data).
  댓글 수: 3
Bharath Venkataraman
Bharath Venkataraman 2022년 6월 14일
I want to make sure I have the problem understood correctly.
  1. You have a Simulink model with the CIC Decimator that simulates correctly.
  2. You generated HDL code and put it on the FPGA.
  3. On the FPGA, you are finding discrepancies.
If the above is true, please try using the FPGA in the Loop workflow. This will run the HDL code on the FPGA but get data in and out of Simulink. It is a good way to verify that the HDL code runs on the FPGA correctly.
On the FPGA, you can also use FPGA data capture to capture data going in and out of the filter.
muhammad ahmad
muhammad ahmad 2022년 6월 15일
yup you have understood problem correctly. let me try the options you have asked for

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 HDL Code Generation에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by