Numerator of FIR filter using "firpm" command is not working properly for ZYNQ 706

3 ビュー (過去 30 日間)
muhammad ahmad
muhammad ahmad 2022 年 2 月 14 日
回答済み: Kiran Kintali 2022 年 2 月 14 日
I am using FIR filter as bandpass fiter in my model whenever i pass the parameters in normal simulink model using "firpm" command in simulink it properly filters the desired signal but when i use the same block and pass the numerator using the AXI4 lite for my HDL model for ZYNQ 706 it does not filters the same signal. why it is behaving differntly in normal simulink simulation and after targetting ZYNQ 706 FPGA. how can i resolve this issue so it can filter the same signal as it is filtering for simulink simulation

回答 (1 件)

Kiran Kintali
Kiran Kintali 2022 年 2 月 14 日
If your Simulink model has a testbench you can consider generating HDL code with the testbench and verify the generated code in a Simulator. This workflow is automated in HDL Coder using testbench generation capability.
Once you verify the generated HDL code behaves the same as your Simulink model for a given set of inputs you can move to FPGA phase.
For more advanced testbench capabilities such cosimulation of Simulink model and a HDL Simulator in tandem or FPGA in the loop with Simulink you can consider HDL Verifier usage.

Community Treasure Hunt

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

Start Hunting!

Translated by