ModelSim/Questa does not include external IP repo files - ModelSim/Questa does not include external IP repo files
Hello Altera Community In Quartus Prime Pro 26.1 I'm doing a Tool -> RTL Simulation, for an Intel AI IP System. Simulation fails with errors like "Module 'dot_bf16' is not defined" These modules exists in my folder "ip_repo", which I placed next to my "quartus" project folder. C:\Users\mads\Desktop\test\ip_repo\altera_ai_ip\verilog\spatial_ip\ The generated top_level.sv instantiates (dot_bf16, relu, strm_wrap). But the simulation compile flow does not include their source files. Quartus simulation flow does not compile them. I tried to editing them into spatial_first_run_msim_rtl_vhdl.do, but quartus regenerates it every run. vlog -sv -work work C:/Users/mads/Desktop/test/ip_repo/altera_ai_ip/verilog/spatial_ip/dot/dot_bf16.sv Platform Designer does not seem to have an "include external hdl" option I also tried to copy the sv files into the simulation folder, but Quartus only compiles what its generated scripts explicitly list. How do I fix this? Thanks in advance.
Replies:
Re: ModelSim/Questa does not include external IP repo files
I think the error occurs because the files is encrypted. Perhaps it could give you an idea what might goes wrong. I am not familiar with the Spatial IP simulation flow, so I would recommend following the user guide for guidance. https://docs.altera.com/r/docs/863373/2026.1.1/fpga-ai-suite-handbook/simulating-an-fpga-ai-suite-ip Regards, Richard Tan
Replies:
Re: ModelSim/Questa does not include external IP repo files
Yes that worked! Now I get a new error # ** Error: C:/Users/mads/Desktop/test/ip_repo/altera_ai_ip/verilog/spatial_ip/common/strm_wrap.sv(43): in protected region
Replies:
Re: ModelSim/Questa does not include external IP repo files
Have the Quartus able to run the Analysis & Synthesis successfully before you run RTL simulation? I tried to editing them into spatial_first_run_msim_rtl_vhdl.do, but quartus regenerates it every run. > The Quartus will regenerate and overwrite the default .do file. If you would like to modify the .do file, copy & create a new name .do file, and run it directly in the Questa simulator tool. Regards, Richard Tan - 2026-06-25
external_document
- Resource Type
- Support Resources > Forums
- Source Name
- khoros