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

2 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 HDL Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by