The road to learning tcl (1) (Vivado and Tcl)

The first step in learning: Install tcl compilation software

  Click here to enter activestate’s official website and download the installation package required for your favorite operating system. What I downloaded here is the installation package under windows. Just install it step by step.
Insert image description here  Well, after installation, we can see three applications at the start menu bar.
          Insert image description here
  Among them, wish (windowing shell) has more TK commands than tclsh. tkcon can also run TK commands and save the tcl commands you have written as files. The specific differences will be discovered by yourself in future studies.
  Next, let’s type the first tcl command under wish!

set a 1

  The meaning of this line of code is to set a to 1, and the result is as follows:
           Insert image description here

Recommended books:

  TCL/TK Introductory Classic (2nd Edition), you can find this book online for study.


--------------------Dividing line--------------------

Vivado and TCL

  For those who have installed Vivado, there is no need to install the above environment. We can directly find the Tcl Console on the Vivado GUI interface or find the Vivado Tcl Shell on the start menu bar.
  Picture attached! !
  Insert image description here
Insert image description here

Guess you like

Origin blog.csdn.net/weixin_44126785/article/details/131931844
TCL