I want to run Vhdl Library on matlab
Show older comments
Hello there,
Hello,
I'm converting Matlab file(.m) to HDL code. The fixed-point file is working 100% , but I got the following errors when I tried to convert it to VHDL code. I found that I have to use the VHDL math library to get those errors fixed.
Can you please help me to run the VHDL code at Matlab
_ _ *.m file orders _ _ *
Y= Sin(x);
Y= Cos (x);
Power(a,b);
round (a,b);
Y=abs(x);
_ VHDL errors _ *
file_fixpt:1163 Error 'pow' : Call to 'pow' is not supported for HDL code generation.
file_fixpt:1523 Error 'round' : Call to 'round' is not supported for HDL code generation.
file_fixpt:1669 Error 'cos' : Call to 'cos' is not supported for HDL code generation.
file_fixpt:1669 Error 'sin' : Call to 'sin' is not supported for HDL code generation.
file_fixpt:1201 Error 'abs' : Call to 'abs' is not supported for HDL code generation.
Accepted Answer
More Answers (0)
Categories
Find more on Get Started with HDL Coder 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!