Issues: FIR filter by HDL Coder on Redpitaya platform

조회 수: 9 (최근 30일)
TuDo Ma
TuDo Ma 2016년 11월 4일
답변: Kiran Kintali 2021년 5월 24일
My goal is to implement a modulation on FPGA hardware(Red Pitaya). So i tried some basic applications like sine generator and FIR filter using Matlab HDL Coder. The sine generator works fine, but the FIR filter (generated with filterDesigner) doesn't operate as wanted. The design you can see in the appendix, the initialization in Xilinx Vivado was:
FIR_filter (.clk(adc_clk), .reset(1'b0), .clk_enable(1'b1), .In(data_adc), .ce_out(), .Out(data_dac));
As you can see the filter quantization for input and output is set to 14-bit signed - fitting to adc/dac specification.
Now, although the input is in idle, the output signal is incorrect. There is an random shot of that noise appended.
Is that a problem of quantization, data type or data overflow? So what would be the correct setting?
Or are there other basic condition to take care at direct implementation with Verilog Code by Matlab HDL Coder?
That's the project: GitHub: FIR_Filter

답변 (1개)

Kiran Kintali
Kiran Kintali 2021년 5월 24일
>> mlhdlc_demo_setup('sfir')

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by