Forum Discussion

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

ModelSim (Altera) & TCL Problems

I'm having problems with the TCL commands in ModelSim SE - Altera Version.

(I'm running ModelSim ALTERA STARTER EDITION 10.0c)

It seems like many of the commands that should work... do not.

For example just trying to run one of the included examples fails:# Error in macro C:\altera\11.1\modelsim_ase\examples\gui\addmenu\addmenu.do line 27# invalid command name "add_menu"# while executing# "add_menu $wname mine"# (procedure "AddMyMenus" line 9)# invoked from within# "AddMyMenus $wname"

Trying to use some of the commands listed here: www.cs.pitt.edu/~don/coe1502/Reference/vsim_quickref.pdf

...like .wave.tree zoomfull doesn't work. Commands like winfo also fail.

Basically I'm trying to learn how to do introspection on the GUI elements, in order to generate new Tk windows, similar to what has been done here: www.doulos.com/knowhow/tcltk/examples/constellation/mti_tcl.pdf

...but I keep hitting roadblock after roadblock since the commands don't seem to be working.

Any ideas?

Thanks!

13 Replies