HDL code generation in matlab
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
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 commentaire
Bijoy
le 19 Juin 2013
Réponses (2)
Tim McBrayer
le 18 Juin 2013
0 votes
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 commentaires
Bijoy
le 18 Juin 2013
Tim McBrayer
le 19 Juin 2013
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
le 29 Août 2013
0 votes
Can you contact MathWorks support with your code and someone will help you resolve the issue?
Cette question est clôturée.
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!