Forum Discussion

Mads_From_Denmark's avatar
Mads_From_Denmark
Icon for New Contributor rankNew Contributor
1 hour ago

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.

No RepliesBe the first to reply