Filter löschen
Filter löschen

Converting (.m) code to HDL Code - Matlab error for Sine, Cosinse function

1 Ansicht (letzte 30 Tage)
Tamer
Tamer am 1 Apr. 2015
Hello,
I'm converting Matlab file(.m) to fixed-point and then to HDL code. the fixed-point file is working 100% , but I got the following errors when I tried to convert the fixed-point to VHDL code because I wrote the following commands at my .m file, Can you please help me to find the replacement of these orders
* _ .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.

Antworten (0)

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by