Clear Filters
Clear Filters

How to generate simulink model from multiple verilog codes?

4 views (last 30 days)
I am trying to generate simulink model from almost 175 verilog files. Using importhdl it always shows some error whether i try using folder, subfolder, path or filenames. Is there any way to fix it?

Answers (1)

Kiran Kintali
Kiran Kintali on 3 Jul 2024
Please note HDL Coder only supports a subset of synthesizable HDL suitable for a Simulink representation in this import process. You may be running into obvious limitations in the workflow. Not all Verilog/VHDL is importable to Simulink.
Added some intro slides on the importhdl command.
Can you share some more details? It is unclear the issues you are facing. Do not hesitate to reach out to tech support support@mathworks.com
  1 Comment
Jaykishan Solanki
Jaykishan Solanki on 4 Jul 2024
I wrote MATLAB scripts and then converted it to verilog, now I want to generate a simulink model to understand the flow of verilog code. But whenever I try this using importhdl it shows some error like the following:
Error using privimporthdl
Importhdl failed
Error in importhdl (line 78)
privimporthdl (hdlInSrc, varargin{:}) - Show complete stack trace
Displaying stack trace:
Error using privimporthdl
  • In privimporthdl
  • In importhdl (line 78)

Sign in to comment.

Categories

Find more on Code Generation in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!