• Analog Custom Design & Analysis Examples

001_auto_gen : JavaScript for layout automation

Minimum Required Version: Expert 4.10.39.R

Many layout-editing tasks can be automated through the use of scripting. This is especially useful when a certain task needs to be performed repetitively or for a large amount of geometries.

This example will show how to automate the labeling of a DRAM array through the use of JavaScript.

1.0. Preliminary steps to start example

  • Run the Expert application
  • Load the "scipting_ex01.eld" project

1.1 Loading/creating the JavaScript

From the Expert window choose the menu Tool->Script and select JS. To open the script window, select Tool->Script->Script Panel . From within the script window, choose File->Open and select the file scripting_ex01.js, the script should then appear in the window as shown in Figure 1 .

This script will perform the following task:

  • Open the layout cell named "array_top"
  • The first loop will place the text bl_0, bl_1, bl_2 ... with layer metal1 on the bit lines
  • The second loop will place the text wl_0, wl_1, wl_2 ... with layer poly on the word lines

Figure 2 illustrates the cell "array_top" before the execution of the script.

In order to run the script, press the green arrow icon located in the script panel window, or choose Script->Run. Figure 3 illustrates the cell "array_top" after the execution of the script.

The file expertapi_ref1.pdf located in "<Silvaco_install_dir>/lib/expert/4.10.39.R/docs/" will help with the syntax while creating JavaScript.

1.2 Expert Log Window

Another useful feature of Expert that can assist in the creation of JavaScript is the use of the Expert log window ( View->Dock Windows->Expert Log ). This window lists each command performed during the Expert session in the proper JavaScript (or LISA) syntax.

Input Files
Graphics
These examples are for reference only. Every software package contains a full set of examples suitable for that version and are installed with the software. If you see examples here that are not in your installation you should consider updating to a later version of the software.
Copyright © 1984 - Silvaco, Inc. All Rights Reserved. | Privacy Policy