Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- In Modelsim, we can create a a working design library to do simulation, we can also create a project to do simulation. What is difference between them? As I know, in normal case for simple design simulation, we can only create a design library. But for a large design simulation, project is preferred. --- Quote End --- Modelsim tracks libraries via either; modelsim.ini or the project file (.mpf). I never use projects, but always use modelsim.ini files. I have several versions of Modelsim-ASE and Modelsim-SE installed, and they all have separate Modelsim libraries (since the binary libraries are not compatible between versions), and modelsim.ini files to track the libraries. Libraries are created using the command: vlib mylibrary a mapping in modelsim.ini is created using vmap mylibrary <path to mylibrary> I have never found a use for modelsim project files, or much use for the GUI menus for that matter. Tcl scripts can do everything. I've posted a few examples of modelsim Tcl scripted designs, look at the sim.tcl scripts in them. They are very basic, but give you something to start with. http://www.alteraforum.com/forum/showthread.php?t=32386 This one is more complicated (Tcl scripts for both Quartus and Modelsim): http://www.alteraforum.com/forum/showthread.php?t=35678 If this is not quite what you were asking, please re-phrase your question to be clearer. Cheers, Dave