Tcl Scripting for EDA + Intro to Tk Training
Date | Version | Country | Location | |
---|---|---|---|---|
Scheduled upon demandOn demand | EXPRESS INTERESTINQUIRE |
Length: 3 days (24 Hours)
Course Description
Tcl has become the de facto standard embedded command language for Electronic Design Automation (EDA) applications. Whether you need to automate repetitive behavior, extend the functionality of an application, control multiple tools with a single script or create a custom GUI, Tcl is your best choice.
Learning Objectives
The first two days of this course provide a hands-on introduction to Tcl. It teaches fundamental concepts like variables and command substitution, globbing and Regular Expressions, files and process handling. It shows how to build applications relying on libraries and packages.
The optional third day covers an Introduction to Tk which allows a designer to create custom Graphical User Interfaces (GUIs) on top of Tcl scripts and applications.
Prerequisites
- Familiarity with UNIX and some programming language
Course Agenda
Day 1 – Introduction to Tcl
- Overview
- Tcl Basics
- Commands and variables
- Substitution and evaluation
- Mathematical operations
- Procedures
- Control Flow
- Conditional and looping commands
- Strings
- Strings and string operations
- Extracting information
Day 2
- Lists and Arrays
- Using lists and arrays
- List versus array
- File I/O & Program Access
- Reading from and writing to files
- Invoking external programs
- Multi-process communication
- Regular Expressions (REs)
- Regular expression patterns
- String searching and replacement
- Advanced Tcl Scripting
- Advanced procedures
- Error handling
- Date & time
- Scheduling and delaying command execution
- Next Steps
- Appendix A: Turning Scripts into Applications
- Appendix B: Binary Files and Strings
- Appendix C: Client-Server Applications and Networking
Day 3 - Introduction to Tk
- Tcl/TK Basics ?
- Widget Overview
- Label, Button, Entry, Listbox, Scrollbar, Scale, and Frame Widgets
- Geometry Managers Overview
- Grid-Geometry manager
- Event Overview
- X Server
- Widget Receive Events
- Menu Bars Overview
- Creating a Menu Bar and menu
- Adding Menu shortcuts and tearoff
- Dialog Overview
- Adding to and customizing a Toplevel Widget
- Dialog Boxes
- Text Widget Overview
- Text Displays
Click here to view course learning maps, and here for complete course catalogs.

"Very good course for Tcl/tk programming, can be useful in many tools. The lecturer is very patient and answers all the questions, also goes over the details."
Amir Knimah, Samsung

“Very good course, especially the instructor has very good teaching skills.”
Franz Hutter, NXP Semiconductors

"It was an interesting course which has met my expectations, well-structured and well taught by the trainer."
Christophe Taba, STMicroelectronics

“I am pleased about the outcome of this course. The instructor had strong knowledge about Tcl and how to use it in EDA tools.”
Evangelos Logaras, NXP Semiconductors

"I liked that the lecturer briefly and efficiently explained any command and issue. He explained enough to understand what is the idea and how to use it but not too much to avoid making it exhausting."
Ido Raz, Samsung

"A very good course, especially the tcl component.The instructor was also very knowledgeable about the subject."
Gabriel Duffy, STMicroelectronics

"Fruitful training in line with my expectations."
Michel Farges, STMicroelectronics