Add this to your tcl script.
# Prevent Modeslim from opening VHDL at the end of the simulation
- set PrefSource(OpenOnBreak) 0
Other options are:
- PrefSource(OpenOnBreak) = 0
- PrefSource(OpenOnFinish) = 1
- PrefSource(OpenOnStep) = 1
In case you want to change further preferences you can:
- See which TCL pref arrays exist using “info vars Pref*”
- See the elements of the array e.g. “”parray PrefSource”
Or just use the GUI “tools/edit preferences”, the name tab is usually more useful.