Altera_Forum
Honored Contributor
10 years agoHow to Add Library Path for Modelsim Altera Starter Edition 10.3d Gate Level Simution
Hello,
I'm having problem running gate level simulation using Modelsim Altera Starter Edition 10.3d due to missing design unit: # ** Error: (vsim-3033) PWM_Gen.vo(670): Instantiation of 'cycloneive_lcell_comb' failed. The design unit was not found.# # Region: /PWM_Gen# Searched libraries:# C:/Users/AsyrafToneExcel/Desktop/Verilog Codings/PWM_Generator_100kHz/QuartusII/simulation/modelsim/gate_work I've read some threads regarding this similar issue and found out that the command "vlog +incdir+<path>" can be used to add search directory. But after I use the command to add path, then a new Error occurred: ModelSim> vlog +incdir+C:\altera\15.0\quartus\eda\sim_lib# Model Technology ModelSim ALTERA vlog 10.3d Compiler 2014.10 Oct 7 2014# Start time: 11:50:26 on May 20,2015# vlog -reportprogress 300 "+incdir+C:ltera" .0quartusedasim_lib # ** Error: (vlog-7) Failed to open design unit file ".0quartusedasim_lib" in read mode. Did I mistype anything in that vlog command? Btw, I'm also using QuartusII 15.0 Web-Edition. Please help, thanks.