How to convert matlab script code containing cosine and sine terms in VHDL code?

2 views (last 30 days)
Hi,
I have Simulink model in which I have written a Matlab function script. The script contains cosine and sine terms. I want to convert this script in VHDL but as expected, HDL coder is giving me an error regarding cosine and sine terms. Anyone has a solution that how to modify the script so that HDL code can be generated? or how to generate the code with cosine and sine term included?

Answers (0)

Community Treasure Hunt

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

Start Hunting!