Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15548 Discussions

ModelSim keeps trying to pull a primitives library file from a nonexistent directory in my project folder. How do I tell it to use the sim-lib?

AGipe
Beginner
249 Views

When trying to run a test bench file, I get the following error:

# ** Error: (vlog-7) Failed to open design unit file "C:/PROJECT_DIRECTORY/../../../../altera/13.0sp1/quartus/eda/sim_lib/altera_primitives.v" in read mode. # # No such file or directory. (errno = ENOENT) # ** Error: C:/altera/13.0sp1/modelsim_ase/win32aloem/vlog failed.

This is caused by one of my top level entity code blocks using the "soft" function from a library file. But why is it trying to look for this file in an unknown and nonexistent folder within my project when I've called out the library locations within ModelSim and within Quartus? And is there a way to find out what those "/../../../../" folders are? I looked in the log file and it still has those.

0 Kudos
0 Replies
Reply