Importhdl function model generation failed. Assertion failed

3 views (last 30 days)
Hello
I am trying to import a verilog module into simulink using the importhdl function. No matter what module I test this with, I always get the same error:
#######################################################
### Creating Target model bitselect_selecting_selector
Error using privimporthdl
Model generation failed. Error: Assertion failed..
Importhdl failed..
Error in importhdl (line 66)
privimporthdl(hdlInSrc, varargin{:}) - Show complete stack trace
########################################################
HDL import parsing finishes successfuly, so I am confident there is nothing wrong with the verilog file. Further more if I introduce any mistakes in it the error message changes. Could you please let me know if the importhld feature is currently working? I am running matlab R2019a (9.6.0.1072779) version on my computer.
Best regards, Teodor

Answers (1)

Kiran Kintali
Kiran Kintali on 20 Oct 2020
If the issue is still reproducible in R2020b please share the sample verilog module.

Categories

Find more on Test Model Components in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!