- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
When I double click a .vhd file in ModelSim, it opens in Notepad++, is there any way to make it such that files open in ModelSim instead.
And to clarify, I am NOT asking how to change the default editor in Windows for .vhd files, I know that ModelSim is using the default program. I wish to know if there is any way to have ModelSim be the editor for files double-clicked in the ModelSim GUI rather than the default one popping up.
Thanks!
- Tags:
- modelsim
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suspect you are using projects as the default behaviour is to open the file as read-only, this is independent of the Windows preferences. As Shyan mentioned you can change the double click behaviour from the project settings. Check to see if you don't have some custom setting for example "edit %f".
If you want to get back to the default settings you need to rename/delete the following register key:
HKEY_CURRENT_USER\Software\Model Technology Incorporated\ModelSim
delete or rename to something like:
HKEY_CURRENT_USER\Software\Model Technology Incorporated\ModelSim_old
When you next start Modelsim it will write a new set of default key values, your double click should now be as per the default. Be careful editing your registry as you can serious screw up your Windows.
Now the question is why do you want to use the Modelsim editor, it is only useful for setting breakpoints, back annotation and single stepping, as a source code editor it is pretty basic, notepad++ is much much better.
I would also suggest not using projects as they will at some point start to work against you. Using .do/.tcl files is dead simple (just copy and paste from the transcript) and will make your life a lot easier,
Good luck,
hans86.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1) Close all the projects.
2) Restart the ModelSim.
3) Open the existing project (any project) from file menu.
You will have this issue mostly fixed.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page