Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

[ModelSim] How to load aliases automatically?

Hi All,

I have prepared a separate file with the aliases, which I want to use with ModelSim. How can make them to be loaded automatically each time I start the ModelSim?

Thank you!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can set the environment variable MODELSIM_TCL and point to a Tcl script that will be run at startup. Eg., my Windows system has MODELSIM_TCL set to %VHDL%/scripts/modelsim.tcl, where %VHDL% is the variable for my code respository, and modelsim.tcl is a script that sets up the path to modelsim.ini based on the tool version (commented on in my response to your other question in another thread).

    Cheers,

    Dave