Altera_Forum
Honored Contributor
13 years agoAltera Modelsim Starter Edition Libraries
According to the handbook/instructions, Altera Modelsim is suppose to have all the libraries ready to go for simulating designs. I can see these libraries in the library viewer in modelsim, however when I go to run my simulation modelsim can't seem to find them.
E.g. --- Quote Start --- # ** Error: (vsim-3033) C:/Users/Jack Hodgson/Desktop/FPGA_Dev/FIRadd.v(2117): Instantiation of 'lpm_compare' failed. The design unit was not found. # Region: /Testbench/testy/c1/m3/add10/FIRadd_altfp_add_sub_a6k_component # Searched libraries: # C:\Users\Jack Hodgson\Desktop\FPGA_Dev\simulation\modelsim\rtl_work # Loading work.wavelet_Ddb1 # ** Error: (vsim-3033) C:/Users/Jack Hodgson/Desktop/FPGA_Dev/wavelet_Ddb1.v(88): Instantiation of 'altsyncram' failed. The design unit was not found. # Region: /Testbench/testy/r3 # Searched libraries: # C:\Users\Jack Hodgson\Desktop\FPGA_Dev\simulation\modelsim\rtl_work --- Quote End --- I've tried compiling those libraries into my work library, but then I get a long list of errors such as: --- Quote Start --- # ** Error: (vsim-10000) C:/Users/Jack Hodgson/Desktop/FPGA_Dev/InputReg.v(77): Unresolved defparam reference to 'LPM_SHIFTREG_component' in LPM_SHIFTREG_component.lpm_type. # Region: /Testbench/testy/r0/b0 # ** Error: (vsim-10000) C:/Users/Jack Hodgson/Desktop/FPGA_Dev/InputReg.v(78): Unresolved defparam reference to 'LPM_SHIFTREG_component' in LPM_SHIFTREG_component.lpm_width. # Region: /Testbench/testy/r0/b0 --- Quote End --- Apparently I shouldn't need to compile those libraries in the first place, but evidently I'm missing a trick as Modelsim can't find them at all. I've tried reinstalling all the Altera software (and Windows 7!) in order to see if that works, and I can't seem to find the answer when I google it. Any ideas?