필터 지우기
필터 지우기

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 CenterFile Exchange에서 HDL Coder에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by