Tcl is the de facto standard for scripting in EDA software. So every hardware designer has to deal with Tcl. Luckily for us there is an Eclipse Tcl plugin available that can help us read and write Tcl code. This plugin offers open declaration, (quick) outline,autocomplete, debugging and other features that will make you more productive.
To install the Tcl plugin in Sigasi:
- Click Help > Install New Software…
http://download.eclipse.org/releases/photonas update site in the Work with: field
- When the index of the update is downloaded (this can take a while) enter tcl in the type filter text box
- Select the Dynamic Languages Toolkit – Tcl Development Tools
- Click through the straightforward, subsequent steps
After the Tcl plugin is installed you need to configure at least one Tcl interpreter.
Select Window > Preferences > Tcl > Interpreters. You can add an interpreter manually with the Add button or you can try automatic detection with the Search button.
To verify that the interpreter is working, you can open an interactive Tcl console by clicking the Open console icon in the toolbar and next selecting the interpreter you want to use.
The next thing you should try is opening a Tcl file and play around. You can test autocomplete, outline, open declaration,…
To enable all Tcl support features (e.g. run, debug) you need to create a Tcl project (File > New > Project… > Tcl Project).
To convert an existing project to a Tcl project you need to edit the
You need to add
<buildCommand> <name>org.eclipse.dltk.core.scriptbuilder</name> <arguments/> </buildCommand>
<buildSpec></buildSpec> element and
You can find more information in the bundled help pages: Help > Help Contens > Tcl/Xotcl Development User Guide. The help pages also contain a tutorial that guides you through all Tcl features.comments powered by Disqus