フィルターのクリア

Discreate Integration in HDL coder for FPGA

3 ビュー (過去 30 日間)
Sanjay Kakodia
Sanjay Kakodia 2023 年 5 月 11 日
回答済み: Daichi 2023 年 5 月 18 日
Hello Dear all, I working on FPGA based controller which uses MATLAB/HDL blocks only. I want to make a integrator and applied many logic for same but unfortunately i did not get proper output. could you suggest some alternative for Integrator. I need proper output. Although it is working in simulation fine. Tfpga=50ns

採用された回答

Daichi
Daichi 2023 年 5 月 18 日
Hi Sanjay,
Thank you for posting your question.
I think your design looks good, so I implement integrater like your design, and it looks work well.
I will attach some candidates, please check them.
Option 1:
You can use "Discrete-Time integrator" block, this block also generate HDL.
I consider this way is simplest.
Option 2:
I implemented like your design, it looks work well.
Option 3:
you can use Simpson's low to implement integral like that.
https://en.wikipedia.org/wiki/Simpson%27s_rule
Anyway, they looks good precision.
If you have to use fixed point, you can use fixed-point designer to adjast value range.
Best regard,
Daichi

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHDL Coder についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by