終於解決了從QII shell啟動VJ調試GUI介面問題

來源:互聯網
上載者:User

全文連結:http://www.61eda.com/Services/peixun/IC/200912/2232.html

 

昨天遇到的Visual Jtag調試GUI介面化的問題終於解決了,riple的方向是正確的,tcl script開始要加init_tk,結束要加退出前等待,但是對於該等待命令我從Altera的AE得到了一個跟riple不同的命令,即tkwait,不管了只要能達到目的就行。

        總結一下詳細操作步驟(下面是給AE的SR總結的步驟):

      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,哈哈。

 

唯一遺憾的是QuartusII不支援中文,所以GUI無法漢化,目前流行的TCL解析工具都支援中文,不象以前還需要專門的漢化工具。

 

PS:附上Altera AE提供一個超級簡單的例子

# 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 the
# window is destroyed. The "tkwait" command prevents the
# script from finishing until the you close the window.
tkwait window .top

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.