Home
  • About Us
    • History
    • Mission
    • Team
    • Partners & Memberships
    • Customer Stories
  • Applications
    • Video
    • Automotive
    • Aerospace & Defense
    • Industrial
    • Telecommunications
  • News
    • Press Releases
    • Blog
    • Events
  • Careers
  • Contact
  • LinkedIn
  • Twitter
Xilinx & Verification Training Courses
Quality training delivered by industry experts
Back to
Course scheduleCourse list

Introduction to TCL-tk

Get an introduction to the Tcl programming language and the GUI capabilities of the Tk toolkit.

This 2-day class will introduce the student to the Tcl programming language and to the GUI capabilities of the Tk toolkit. Upon completion of this class, the student will be able to write useful Tcl programs to automate operating system tasks and add scripting capabilities to C programs. Students will also be introduced to Tcl's GUI capabilities through Tk toolkit. The format of the class is mixed lecture/lab, with lab exercises immediately following each major topic. The lab exercises are intended to reinforce the preceding lecture topic(s), and are designed to be directly applicable in an EDA context.

Release date

Jume 29, 2016

Level

1

Training duration

2 days

Price

USD 1600 or 16 Training Credits

Course Part Number

HDT-INTROTCLTK-100

Who Should Attend?

Engineers who want to customize and extend the productivity of EDA tools using the Tcl scripting language.

Prerequisites

  • A working knowledge of the UNIX operating system
  • Basic programming experience most any language is recommended

Software Tools

  • Any EDA tool that uses Tcl as a scripting language

Skills gained

After completing this comprehensive training, you will have the necessary skills to:
  • Describe the important differences between Tcl and keyword-based languages such as C or Perl
  • Write well-crafted, reusable Tcl scripts to automate tasks
  • Apply complex regular expressions to parse input and generate code
  • Use the Tk library to add a graphical user interface around your script
  • Extend Tcl by adding new commands backed by custom C code

Course Outline

  • Introduction
  • Tcl uses
  • Comparison to other languages
  • Getting Started
  • Creating a Tcl program
  • tclsh and wish interactive shells
  • Loading a script
  • Using a Tcl debugger
  • Tcl Basics
  • Command syntax
  • Grouping and quoting
  • Data types
  • Variables
  • Evaluating expressions
  • Tcl Commands
  • Control flow commands
  • Loops
  • Catching errors
  • String processing
  • The string command
  • The format command
  • String matching
  • Regular Expressions
  • Lists
  • Creating lists
  • Modifying lists
  • Sorting and searching lists
  • Tcl I/O
  • Standard file I/O
  • Opening files
  • Opening sockets
  • Binary I/O
  • Tcl Arrays
  • Creating arrays
  • Working with arrays
  • Data structures using arrays
  • Procedures
  • Creating procedures
  • Scope
  • The upvar and global commands
  • Tcl in the Unix environment
  • Executing programs
  • Working with files
  • Working with directories
  • Environment variables
  • Tk Basics
  • Widgets
  • Widget attributes
  • Resources
  • Arranging Widgets with Pack
  • The 'cavity' model
  • Stacking
  • Anchoring
  • Padding and filling
  • Arranging widgets with Grid
  • Basic grid
  • Row and column spanning
  • Row and column constraints
  • Tk Events and Binding
  • The bind command
  • Focus
  • Commands
  • Key events
  • Mouse events
  • Basic Tk Widgets
  • Labels
  • Buttons
  • Entry
  • Frames
  • Toplevel
  • Menus
  • Menubuttons
  • Menu bars
  • Pop-up menus
  • Scrollbars
  • Creating scrollbars
  • Controlling scrollbars
  • Listboxes
  • Creating listboxes
  • Listbox binding and control
  • Text widget
  • Text indices and marking
  • Inserting text
  • Tags
  • Canvas widget
  • Coordinates
  • Canvas elements
  • Combining Tcl and C
  • Tcl Objects in C
  • Tcl Commands in C
  • Starting a Tcl interpreter
  • Creating a stand-alone executable

Please download the respective PDF of your course: *

  • Introduction_to_TCL-tk_hdt-introtcltk-100_ilt.pdf

Enquire Now

* The course version can be found in the training registration form

Related Courses

Essential Tcl Scripting for the Vivado Design Suite

View course
Contact HardentContact me
Mary-Ann Conly
Training Coordinator

Course Schedule

  • Enquire Now
Wondering Which Course to Take?

Download our learning path guide to find the right course level and topic for the next step in your career development.

Training Funding

From Xilinx training credits to government funding, there are several options available to help you cover training costs.

See our list of resources
Upcoming Sessions
Jan 27–28
Designing with Versal AI Engine 2
Register
Feb 01–04
Introduction to UVM
Register
Feb 02–03
Designing with the Versal ACAP: Embedded Processor Architecture and Methodology
Register
Feb 03–04
Advanced Hardware Debugging Techniques Using Vivado Design Suite
Register
Complete Course Schedule
Latest News
Contact Us
Hardent Announces Availability of New Xilinx Versal ACAP Training Courses
New Xilinx Versal ACAP training courses will cover all aspects of designing with the latest Xilinx device category.
More
Hardent Announces Expansion of Xilinx Training in the USA
Hardent selected by Xilinx to be the new Xilinx training provider in four U.S. states.
More
Hardent and PLC2 Announce New IP Partnership to Support German Semiconductor Companies
PLC2 named as the official IP representative for Hardent’s video compression IP cores in Germany, Austria, and Switzerland.
More
Upcoming Sessions
Jan 27–28
Designing with Versal AI Engine 2
Register
Feb 01–04
Introduction to UVM
Register
Feb 02–03
Designing with the Versal ACAP: Embedded Processor Architecture and Methodology
Register
Feb 03–04
Advanced Hardware Debugging Techniques Using Vivado Design Suite
Register
Complete Course Schedule
Contact Hardent
Mary-Ann Conly
Training Coordinator
HardentMontreal
450 rue Saint-Pierre, suite 300
Montreal
,
QC
H2Y 2M9
Canada
T +1 (514) 284-5252
F +1 (514) 284-5052
Tick to hear more from Hardent by email. This includes our newsletter, details about offers, new courses, and events. You can opt out at any time. For further information, please refer to our privacy policy.

I’ve worked with Hardent for many years and have recommended them a few times in the past. Hardent has always been extremely successful with their clients. They have many flexible ways of working with a client and will negotiate a mutually beneficial solution.

In our case, they just log into our servers and we are in constant contact via IM, email, phone, etc., but they have all their own design tools as well, so they can work either way. Being in the same time zone makes working with them easy. I am sure you will be happy with the outcome of their work. They’ll hit the ground running much faster than a single contractor would.

Marshall Johnson
Sr. Director Global ASIC/FPGA/IP Development
ADVA Optical Networking
More testimonials
Training Partners
WHDL logo
Hardent © 2002-2021.
All rights reserved.
  • Privacy Policy
We use cookies to ensure that we give you the best experience on our website. By continuing to use this website, you consent to our use of cookies. OK