Borrar filtros
Borrar filtros

Discreate Integration in HDL coder for FPGA

3 visualizaciones (últimos 30 días)
Sanjay Kakodia
Sanjay Kakodia el 11 de Mayo de 2023
Respondida: Daichi el 18 de Mayo de 2023
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

Respuesta aceptada

Daichi
Daichi el 18 de Mayo de 2023
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

Más respuestas (0)

Categorías

Más información sobre HDL Coder en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by