필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Tamer
Tamer 2015년 4월 1일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by