- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
How can I know what modelsim.ini is currently used by Modelsim? How can I report a path (location) to the modelsim.ini from the Transcript window of Modelsim? Thank you!Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Type 'where'.
For example, I use a Modelsim Tcl script to setup the path to modelsim.ini based on the tool version. If I type 'where' in Modelsim-ASE for Quartus II 15.0, this is the output --- Quote Start --- Modelsim> where # Current directory is: C:/software/altera/15.0 # Project is: c:/build/modelsim/v10.3d_ase/modelsim.ini # --- Quote End --- Note how the modelsim.ini path is to a location in my build area, in a folder specific to that version of Modelsim-ASE. This allows me to have multiple versions of Modelsim-ASE and Modelsim-SE installed. Cheers, Dave- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here is an output from the where command in my ModelSim:
%> where # Current directory is: C:\QUESTA_PROJECTS # Project is: C:/QUESTA_PROJECTS/USBIF.mpf # So, the modelsim.ini location is not reported, just a location of the *.mpf file and the current directory- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
*.mpf is a Modelsim Project File. That is an alternative file to modelsim.ini. I have never found it to be particularly useful, so have stuck with the modelsim.ini file.
Read the Modelsim documentation for more details on the differences between the two files. I can't recall what I did not like about *.mpf files, it could be that I was just resistant to change :) Cheers, Dave- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK, lets say I started the ModelSim with some modelsim.ini, but now I want to switch to another project, which should use another modelsim.ini.
So, how can I switch between the different modelsim.ini files? Can I source the modelsim.ini (like another tcl file)?
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