필터 지우기
필터 지우기

Problem facing in matlab code to vhdl code convertion

조회 수: 2 (최근 30일)
Nemala Naveen
Nemala Naveen 2023년 2월 2일
편집: Kiran Kintali 2023년 2월 7일
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

답변 (1개)

Kiran Kintali
Kiran Kintali 2023년 2월 2일
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
Nemala Naveen
Nemala Naveen 2023년 2월 7일
편집: Nemala Naveen 2023년 2월 7일
Good morning sir. I have tried my code in latest version R2022a but i am facing problem that it says scripts are not supported in code generation. Can you please help me how to overcome this problem sir
Kiran Kintali
Kiran Kintali 2023년 2월 7일
편집: Kiran Kintali 2023년 2월 7일
>> 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

댓글을 달려면 로그인하십시오.

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by