필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

HDL code generation in matlab

조회 수: 3 (최근 30일)
Bijoy
Bijoy 2013년 6월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
I want to generate an HDL code from my matlab code. I am getting error at the first step only, "Verify floating point design"
Following is what comes in the dialogue box.
============= Step1: Verify Floating Point ==============
Printing file dependency tree for HDLcoder_encoder
    + HDLcoder_encoder.m
        * gs.jpg
        * BWM.jpg
        + Watermarking_function.m
### Analyzing the design 'Watermarking_function'
### Analyzing the test bench 'HDLcoder_encoder'
### Begin Floating Point Simulation (Instrumented)
### Generating Mex file for 'Watermarking_function'
No directories were removed.
Use help fiaccel for more information on using this command.
### Please look into the errors by following the error report link.
Error using *buildInstrumentedMex*
I don't know what to do. Please help.
  댓글 수: 1
Bijoy
Bijoy 2013년 6월 19일
Can anyone give some details on the fiaccel function? i am getting this error during the HDL code generation in the step "Verify floating point". I am stuck at this point and cannot go ahead with my design. Please help and thanks in advance.

답변 (2개)

Tim McBrayer
Tim McBrayer 2013년 6월 18일
I would make sure that your code runs correctly in MATLAB first. Once this is the case, take a look at your use of MATLAB built-in functions. Any functions you use most be supported by HDL Coder. See the documentation at http://www.mathworks.com/help/hdlcoder/ug/fixed-point-run-time-library-support.html for supported functions and restrictions on their use with HDL Coder.
  댓글 수: 2
Bijoy
Bijoy 2013년 6월 18일
I don't have access to the document. Is there any other way to access it?
Tim McBrayer
Tim McBrayer 2013년 6월 19일
I believe you need to log into your MATLAB Central account to access the online documentation for HDL Coder. Alternatively, the identical information is available in the installed doc. Run
web([docroot '/hdlcoder/ug/fixed-point-run-time-library-support.html'])
To access it directly.

Kiran Kintali
Kiran Kintali 2013년 8월 29일
Can you contact MathWorks support with your code and someone will help you resolve the issue?

이 질문은 마감되었습니다.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by