Altera_Forum
Honored Contributor
13 years agoThe error when load Altera libraries into ModelSim using Altera tcl scripting
I installed a Modelsim PE student version in my computer, I want load the Altera libraries into it.
I download the tcl script from Altera website (http://www.altera.com/support/examples/tcl/tcl-modelsim.html). I change the tcl file line 3 into the specific path in my computer, where the libraries folder "sim_lib" is. Then I run the tcl script in Modelsim, it gives the error messages: # ** Error: (vlog-7) Failed to open design unit file "d:ProfessionalAlteraQuartusquartusedasim_lib/eda/sim_lib/altera_mf.v" in read mode. # # No such file or directory. (errno = ENOENT) # ** Error: D:/Professional/ModelSImPE/win32pe_edu/vlog failed. # Error in macro C:\Users\Jing\Desktop\About Quartus\verilog-library-setup.tcl line 267 I don't understand why it does not work. So I upload the tcl file in this post, anybody can help me? Or if someone can explain how to load libraries through GUI, that will be very good too. Thanks very much!