- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It appears I was being an idiot. I'd previously developed in ModelSim so to simulate I would just double click on my testbench in the library view.
I needed to add the library search paths. For others who might have this problem: When simulating, go to Simulate --- > Run Simulation. Under the libraries tab, add in the libraries you need (I needed altera, altera_mf, 220model, cyclone_iii). I found these in C:\altera\11.1\modelsim_ase\altera- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, jacki2ya. Run into the same problem and your post helped me :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thnx jacki2ya, it really helped...!!

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page