필터 지우기
필터 지우기

Matlab Error - Converting (.m) code to VHDL/Verilog Code

조회 수: 1 (최근 30일)
Tamer
Tamer 2014년 7월 20일
답변: Tamer 2014년 9월 6일
Hello there,
I'm converting a Matlab Code (.m) to Verilog using Matlab converter (HDL Coder), I got the following error, could you please help me to solve this error?
Fixed-Point Conversion. "class mismatch (coder.internal.indexInt~= embedded.fi {dfix5}. The class to the left is the class of the of the left-hand side of the assignment."
Thanks,

채택된 답변

Tamer
Tamer 2014년 9월 6일
Hello Srinivas ,
I'm using Matlab 2014a
here is the code
for lp=1:km for jr=1:jx Levels(lp,jr)=jj(jr) jr=jr+1; <---- I got this error at this step end lp=lp+1; <---- I got this error at this step end

추가 답변 (1개)

Srinivas
Srinivas 2014년 7월 21일
Hello Tamer, It appears you are encountering the error during fixed-point conversion of your code. Can you provide more details on the code? Also, which version of MATLAB are you using?
Thanks.

카테고리

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