Finally solved the problem of starting VJ debugging GUI from qii Shell

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.