How to generate HDL code for fractional sample rate converter in simulink?
Show older comments
I have a simulink block as follows

I want to generate hdl code for the whole model. Gb, Ib, Kb and Pb are my filters and I am designing fractional sample rate converter. But it only generates hdl code for filter not for up-sampling and down-sampling process. I want to do that because my filter length is 391 and it is very hard to write testbench manually for such a big filter. Please help!
2 Comments
Kiran Felix Robert
on 22 Mar 2021
Does MATLAB/Simulink HDL Coder throw any error or a warning when you try to generate HDL code ?
Himadri Debnath
on 22 Mar 2021
Accepted Answer
More Answers (0)
Categories
Find more on Code Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!