Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17049 Discussions

altera_lnsim_for_vhdl.sv does not exist

Altera_Forum
Honored Contributor II
2,523 Views

Hi, 

 

I am new to using Quartus together with Modelsim, and while I love that the '.do' file is automatically generated for you, it also happens to contain this line: 

 

vlog -sv -work altera_lnsim {c:/altera/10.1sp1/quartus/eda/sim_lib/mentor/altera_lnsim_for_vhdl.sv} 

 

at which point it chokes since neither the /mentor/ folder nor the altera_lnsim_for_vhdl.sv file exist. The line in question is generated even though my testing project is only made up of VHDL and block schematic diagrams and that the output netlist is in VHDL. 

 

Here is the software that I am using: 

Quartus v10.1 

Modelsim SE 6.5c 

 

I would be very grateful if someone could explain this to me so that I can get my code to simulate correctly in Modelsim. Thank you! 

 

Cheers, 

Josef
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
1,520 Views

that directory/file is present on my machine running QII 10.1 Subscription Edition Linux. are you using Web Edition?

0 Kudos
Altera_Forum
Honored Contributor II
1,520 Views

here's the file from my 10.1 install to get you moving along

0 Kudos
Altera_Forum
Honored Contributor II
1,520 Views

Yes, I am using Web Edition on Windows, why it does not exist on my machine is still a mystery. Thanks for the file in any case, it all works now! :)

0 Kudos
Altera_Forum
Honored Contributor II
1,520 Views

all of the other files in sim_lib/mentor have to do with Stratix V. i suspect they aren't installed with Web Edition because Stratix V isn't supported 

 

do you have any idea why altera_lnsim_for_vhdl.sv is included in your simulation (what IP is being used, etc)? if you can isolate it i think you should report it to Altera in a Service Request so they can include the file in future Web Edition software
0 Kudos
Altera_Forum
Honored Contributor II
1,520 Views

I've recently installed ModelSim 10.4 and am using Quartus 13.0sp1 Web Edition to design for a system using a Cyclone III. When using ModelSim Altera-Starter NativeLink works fine. However, when setting it up for ModelSim 10.4, I get the same error as in the op in ModelSim (i.e. .../sim_lib/mentor/altera_lnsim_for_vhdl.sv does not exist.) 

 

I've frigged the installation by creating the /mentor directory under altera/13.0sp1/quartus/eda/sim_lib and putting the version of altera_lnsim_for_vhdl.sv attached to thepancake's post in there to get past the error. 

 

Is an official fix for this issue? Is my frigged solution is going to cause me problems in the future? 

 

I need to use an older version of Quartus II Web-edition to support the Cyclone III devices that are being used in the design, but if installing the latest Web version and copying over some files would work I'd be prepared to do that too, though I'd prefer not to have to install a version of Quartus II that I currently cannot use because support for all the devices I design with have been removed from it!
0 Kudos
Reply