Problem facing in matlab code to vhdl code convertion
Mostra commenti meno recenti
Good morning.I am trying to convert matlab code to vhdl code using hdl coder, but i am facing problem in like unsupported control flow constraints and it says that script cannot be used .Please help me with this problem
Risposte (1)
Kiran Kintali
il 2 Feb 2023
0 voti
Please check out this page for best practices in writing MATLAB for HDL.
For specific directions on your input program please reach out to customer support with reproduction steps.
2 Commenti
Nemala Naveen
il 7 Feb 2023
Modificato: Nemala Naveen
il 7 Feb 2023
Kiran Kintali
il 7 Feb 2023
Modificato: Kiran Kintali
il 7 Feb 2023
>> mlhdlc_demo_setup('heq')
Check this example for seperation of the design and tesbench files needed for HDL Code generation.
The design under test a.k.a DUT needs to be a MATLAB function.
This float to fixed example has some pictures of the MATLAB design and/or testbench files that are transformed to HDL DUT and Testbench files.
https://www.mathworks.com/help/hdlcoder/ug/working-with-generated-fixed-point-files.html
Categorie
Scopri di più su HDL Coder in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!