필터 지우기
필터 지우기

How to implement a digital control transfer function on an FPGA using HDL coder?

조회 수: 5 (최근 30일)
Sujay
Sujay 2013년 6월 17일
답변: Kiran Kintali 2023년 10월 6일
I have developed a controller for a digital control problem. I want to implement the controller obtained, which is a digital transfer function, on an FPGA. I tried 'import from work space' in the fdatool, but I get the error "HDL generation for the filter structure xxx is not supported"
Could someone please explain the procedure to be followed to get the HDL code of one's custom filter? there seem to be many tutorials to get the HDL code of filters designed using FDATOOL

답변 (1개)

Kiran Kintali
Kiran Kintali 2023년 10월 6일
Have you considered realizemdl function to generate a Simulink and using HDL Coder to generate code from the Simulink model?
realizemdl
Simulink subsystem block for filter
d = fdesign.lowpass('N,F3dB',4,0.25);
filterobject = design(d,'butter',Systemobject=true)
new_system('LPFilter');
realizemdl(filterobject);

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by