Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15543 Discussions

[ModelSim] many modelsim.ini -> how to know which one runs?

Altera_Forum
Honored Contributor II
829 Views

Hi All, 

 

There sre many modelsim.ini in my PC, so how to know which one is currently running? 

 

Is there some command like 'which modelsim.ini', which I can run from the ModelSim Transcript (commands line) window? 

 

Thank you!
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
99 Views

The one in the simulation directory, usually. Each simulation directory will have its own modelsim.ini file.

Altera_Forum
Honored Contributor II
99 Views

OK, but is there a ModelSim command, which I can run and see what modelsim.ini is currently in use?

Altera_Forum
Honored Contributor II
99 Views

In Modelsim, you use the Change Directory command to go to a simulation directory. The .ini in that directory is what is used.

Altera_Forum
Honored Contributor II
99 Views

OK, I'm using Questa v10.4c...  

 

When I go to 'File->Change Directory' from the menu, a window for directories browsing pops up... There is no a clue about what's the simulation directory...  

 

So, what to do now?
Altera_Forum
Honored Contributor II
99 Views

You change directory to where the files are for simulating your design. A .ini will get created.

Altera_Forum
Honored Contributor II
99 Views

sstrell, it seems you did not understand my question ...  

 

There several options where the ModelSim takes its .ini from...  

 

The first option - it takes its .ini from the local directory where it was involved from  

The second option - according to to the environment variable  

Probably there are another options... if there are, please list here, thanks  

 

So, once the ModelSim is already launched, how can I know what exectly .ini file it used during its launch. Can I check this? How?
Reply