Is there a way to convert verilog (.v) codes to Simulink model?

25 ビュー (過去 30 日間)
Nadatimuj 2021 年 2 月 11 日
How to convert multuple verilog files into Simulink model without getting any clock inference error?


Pranav Verma
Pranav Verma 2021 年 2 月 16 日
Hi Navid,
You can use importhdl function in MATLAB to import the verilog code and generate the Simulink model out of it. Please make sure that the input HDL files should contain constructs that are supported by HDL import. Here are all the constructs supported by HDL import.
  1 件のコメント
Stelios Papaharalabos
Stelios Papaharalabos 2022 年 11 月 7 日
Hello Pravan,
I'm trying to run the importhdl function but matlab says "Undefined function or variable 'importhdl'.".
I do have the HDL Coder toolboox. Could you please help to resolve this issue?


その他の回答 (0 件)


Find more on Code Generation in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by