Timing error happened when seting series IIR filter in Speedgoat target machine

2 ビュー (過去 30 日間)
ERIC hu
ERIC hu 2022 年 10 月 31 日
回答済み: Kiran Kintali 2022 年 10 月 31 日
Hi alls
I 'm using HDL Coder with simulink for building a set of IIR filters in series in Speedgoat target machine.
I used the following three methods:
1.Connect Biquad block in turn; (As shown in the following figure)
2.Connect Discrete Transfer Fcn block in turn;
3,Use add, gain and delay blocks to build Direct Form II IIR filter and then connecting them in turn.
I can get a correct filtering result in simulink. However, when using the HDL Workflow Advisor of HDL code and run the generated gm_.slx on speedgoat target mechine, the results were always wrong. I suspect it's a time sequence problem, but I don't know how to solve it or what to set up. Or is there a better way to build an IIR filter model that can be connected in series.
THANKS advanced,
ERIC

採用された回答

Kiran Kintali
Kiran Kintali 2022 年 10 月 31 日
Please reach out to tech support for guidance on the topic with your model.
You can use the workflow to get a high level view of the critical path in your model.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDigital Filter Design についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by