next up previous contents index
Next: Technology File Layer Blocks Up: Technology File Previous: Technology File Path Definitions   Contents   Index


Technology File Scripts

Scripts can be included in the technology file. These scripts can appear as buttons in the User Menu, as with other scripts, or they can be ``run once'' scripts. This feature is useful for including simple technology-specific commands, such as those that create special extraction layers or physical features. Scripts defined in the technology file, however, can not be loaded into the debugger.

A script is included In the technology file as follows. The Script keyword is followed by the text which will appear in the command button. If the button text contains white space, it must be quoted, e.g.,

Script "My Cell Counter"

The lines of the script follow, and the script text must be terminated with the keyword EndScript on a separate line.

Script menu_label
script text
...
EndScript

If the line

RunScript
appears anywhere after the Script line and before EndScript, the script is taken as a ``run once'' script. It will not be added to the User Menu. Instead, it will be executed after the technology file has been read, then discarded. Any number of scripts can be treated this way, they execute in order of appearance in the technology file.

Scripts defined in the technology file have lower priority than other scripts in the event of a menu label text clash. Thus, technology file scripts will be ``hidden'' by other scripts with the same menu label, should any exist.


next up previous contents index
Next: Technology File Layer Blocks Up: Technology File Previous: Technology File Path Definitions   Contents   Index
Stephen R. Whiteley 2024-09-29