Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- double check the "sim_lib" folder whether it contains all the files you need to compile in modelsim. if it still doesn't work, maybe you can post the whole message here when you run the script. --- Quote End --- Thanks. The "sim_lib" folder is the original one after I install Quartus II 11.1 sp2 web edition. And I checked the file inside, it definitely has "altera_mf.v" file inside it. I pasted the whole message here: # Reading D:/Professional/ModelSImPE/tcl/vsim/pref.tcl do {C:/Users/Jing/Desktop/About Quartus/verilog-library-setup.tcl} # D:/Professional/Altera/Quartus/quartus/eda # compile_all # Model Technology ModelSim PE Student Edition vlog 10.1c Compiler 2012.07 Jul 28 2012 # ** Error: (vlog-7) Failed to open design unit file "D:/Professional/Altera/Quartus/quartus/eda/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 # D:/Professional/ModelSImPE/win32pe_edu/vlog failed. # while executing # "vlog -work altera_mf_ver $path_to_quartus/eda/sim_lib/altera_mf.v" # invoked from within # "if {[string equal $type_of_sim "compile_all"]} { # compiles all libraries # vlib lpm_ver # vlib altera_mf_ver # vlib altera_prim_ver # vlib sgate_ver # v..." Thanks very much.