Altera_Forum
Honored Contributor
18 years agoTcl and Tk references for scripting
Quartus (including TimeQuest) and some third-party EDA tools use Tcl scripts. Here are some references that some people have recommended:
The Tcl Wiki: http://wiki.tcl.tk/ Tcl Syntax Help: http://wiki.tcl.tk/1019 Tk Syntax Help: http://wiki.tcl.tk/1047 BWidget: http://wiki.tcl.tk/2251 Visual Tcl: http://vtcl.sourceforge.net/ (see comment below) SpecTcl: http://spectcl.sourceforge.net/ (see comment below) Practical Programming in Tcl and Tk Book by Brent B Welch and Ken Jones with Jeffrey Hobbs Prentice Hall PTR ISBN 0-13-038560-3 Comments from others: --- Quote Start --- Try vtcl, just make sure you only enable the available packages. You also need to wrap arounf the generated tcl to run init_tk & a vwait exit_var. --- Quote End --- --- Quote Start --- I think I preferred SpecTcl to VTcl but both of them produced code that was unmaintainable. They both use their own approach to maintaining the widget namespace and I found them both equally unwieldly if I had to go into the files and do manual tweaking. Not to say they won't work for you, just letting you know what my experience was with them. They both ran under Quartus II's Tcl engine but you need to add init_tk to their top-level files first to get them to work. --- Quote End ---