vlog-7 "Failed to open design unit file in read mode" error during simulation for Agilex7 board
Good day,
I am trying to simulate an HLS for an Agilex7 device.
I'm using Quartus Prime Pro 24.2, and the corresponding versions of Questa - Intel FPGA Edition and HLS Compiler. Running on a Windows 11 Pro 23H2 computer.
After launching compilation, simulation, etc. on the command window, the following message results:
HLS Elaborate verification testbench FAILED.
See (...)/luinv.prj/debug.log for details.
Error: Cosim testbench elaboration failed.
When opening said debug.log, this is the only error present:
# Top level modules:
# dpic_invmatrixursi
# End time: 12:55:10 on Jan 23,2025, Elapsed time: 0:00:00
# Errors: 0, Warnings: 0
# Questa Intel FPGA Edition-64 vlog 2024.1 Compiler 2024.04 Apr 19 2024
# Start time: 12:55:10 on Jan 23,2025
# vlog -sv "+incdir+." "+define+COSIM_LIB" -suppress 14408 -suppress 7061 ../../ip/tb/cat_cwfsw/avalon_concatenate_singlebit_conduits_10/sim/cat_cwfsw_avalon_concatenate_singlebit_conduits_10_lrbideq.sv -work avalon_concatenate_singlebit_conduits_10
# ** Error: (vlog-7) Failed to open design unit file "../../ip/tb/cat_cwfsw/avalon_concatenate_singlebit_conduits_10/sim/cat_cwfsw_avalon_concatenate_singlebit_conduits_10_lrbideq.sv" in read mode.
# No such file or directory. (errno = ENOENT)
# End time: 12:55:10 on Jan 23,2025, Elapsed time: 0:00:00
# Errors: 1, Warnings: 0
# ** Error: c:/intelFPGA_pro/24.2/questa_fe/win64/vlog failed.
# Executing ONERROR command at macro ./msim_compile.tcl line 7
# Errors: 1, Warnings: 0
I checked whether the file exists, and apparently it does. It is in the specified folder, and has full permissions as far as I can tell.
The error appears when running msim_compile.tcl, which is located at (...)/luinv.prj/verification/tb/sim/
The file-path which causes the error is then:
(...)/luinv.prj/verification/ip/tb/cat_cwfsw/avalon_concatenate_singlebit_conduits_10/sim/cat_cwfsw_avalon_concatenate_singlebit_conduits_10_lrbideq.sv
Here is the path in which the file is present in my computer, followed by the path from the log:
(...)/luinv.prj/verification/ip/tb/cat_cwfsw/avalon_concatenate_singlebit_conduits_10/sim/cat_cwfsw_avalon_concatenate_singlebit_conduits_10_lrbideq.sv
(...)/luinv.prj/verification/ip/tb/cat_cwfsw/avalon_concatenate_singlebit_conduits_10/sim/cat_cwfsw_avalon_concatenate_singlebit_conduits_10_lrbideq.sv
I include it here in case I may be unwittingly blind, but I see no difference between these paths.
Any ideas on what may cause this error?
Thank you and regards,
Noah