Full text link: http://www.61eda.com/Services/peixun/IC/200912/2232.html
The GUI debugging problem of visual JTAG encountered yesterday was finally solved. The riple direction is correct. The TCL script starts to add init_tk, and waits before it ends and exits, however, for this wait command, I got a different command from Altera's AE, namely tkwait, that is, whatever it means can achieve the goal.
To sum up the detailed operation steps (the SR Summary for AE is as follows ):
1), add the "init_tk" in the vjgui. TCL file;
2), I added the "tkwait window. Top" at the end of vjgui. TCL file;
3), I created a BAT file named vj_gui.bat, which include these two command "quartus_stp-T vjgui. TCL" and "quartus_stp-s ";
4), I excuted vj_gui.bat
5) Enjoy Your debugging, haha.
:
The only pity is that QuartusII does not support Chinese characters, so GUI cannot be customized. Currently, popular TCL parsing tools support Chinese characters, unlike traditional Chinese tools.
PS: attach Altera AE to provide a super simple example
# Initialize the TK Library
Init_tk
# Create a top level and add a title
Toplevel. Top
WM title. Top "Hello World"
# Add Widgets
Button. Top. Hello-text hello-command {puts stdout "Hello, world! "}
Pack. Top. Hello-padx 20-pady 10
# Without "tkwait", the script finishes at this point and
# Window is destroyed. The "tkwait" command prevents
# Script from finishing until the you close the window.
Tkwait window. Top