Forum Discussion
Altera_Forum
Honored Contributor
11 years agoLoading Libraries in ModelSim
Hello all,
I am using the model sim starter edition 10.3c and am having massive amounts of issues loading in call to the megafunction parallel_add. I have simulated before just this is the first time with preloaded libraries. I used the library import, and put the verilog version of altera_mf.v into my "work" library. The importation wizard tells me this is all that needs to happen. The code compiles but will not "load design" when I attempt to simulate. I've been messing about with all of the library inputs and referencing I could, but the same result kept happening. Any assistance would be greatly appreciated. Thanks, ~Simon3 Replies
- Altera_Forum
Honored Contributor
Hello Simon,
Try following and let us know if it works for you or not. You can find precompiled libraries from following location : <Quartus Installation Path>\13.0sp1\modelsim_ase\altera To add pre-compiled library, (1) On the Simulate menu, click Simulate. (2) To specify the ModelSim-Altera precompiled libraries: a) Click the Libraries tab.[/INDENT] b) In the Search Libraries (-L) box, click Add and select the appropriate libraries. c) Click OK. To get more idea about adding these libraries, Google should help you. Cheers, Bhaumik - Altera_Forum
Honored Contributor
Since you are using modelsim starter edition, I would recommend you to use the native link. As it will auto generate the libraries needed for your design
- Altera_Forum
Honored Contributor
Hi all, thanks for the help. What actually was the issue was that I was trying to use the import libraries thinking that was how to link them. What I needed to get the code to simulate was to add a simulation configuration (which you don't necessarily need if you're not linking libraries). Once I made a simulation configuration that had the library search options and the files to include it worked like a charm!
Thanks, ~Simon