Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Yes, you will need to point ModelSim at some pre-compiled libraries. Refer to Altera's "modelsim tcl scripting examples (https://www.altera.com/support/support-resources/design-examples/design-software/tcl/tcl-modelsim.html)" for details on using the Altera libraries for simulation. The scripts encompass libraries for all devices - you can strip out what you don't need. Cheers, Alex --- Quote End --- Thanks, Alex. I just used RAM IP to generate sinewave. But I don't really get it when I simulate in ModelSim why I need to add some libraries like eda/sim_lib/220model.v and eda/sim_lib/altera_mf.v to make my simulation work. How can I know which lib I need to add before simulation? Thanks in advance :)