Using Electric 7-2: Units

Chapter 7: DESIGN ENVIRONMENTS

| ## 7-2: Units |

Electric stores all geometry in terms of an internal unit of distance, but displays all distances in terms of a display unit. In addition, Electric uses a basic grid unit called lambda, which provides for scalable design. To change the value of the internal unit, the display unit, or the value of lambda, use the Change Units... command of the Technology menu. |

### Lambda

Lambda is the basic unit of design, expressed in internal units. For example, the MOSIS CMOS technology has transistors that are 2x3 lambda units in size, and a value of lambda that is 400. Because the internal unit is the half-millimicron, 400 internal units is 0.2 microns, and the transistor is 0.4 by 0.6 microns in size. Note that the value of lambda is shown in the status area.

Each library has a list of lambda values for each technology. This means that two libraries can have different lambda values for the same technology, and this can cause trouble if the libraries reference each other. Because of this, when a library is read in with lambda values that are different from existing libraries, you are presented with a dialog to help resolve these differences.

You can choose to scale the new library or the existing libraries so that they match. You can also choose to ignore the problem if you know that the inconsistent lambda values will not cause trouble.

If you use the Change Units... command and change the value of lambda, you have three choices for how to adjust the existing circuitry:

- "Change no libraries" causes the technology to scale, but existing objects are left alone. This may cause existing objects to change their aspect ratio, even if they don't change their physical size.
- "Change current library" causes the technology and all objects in the current library to scale. The objects and their facets will now be at a different size, but will appear the same as before.
- "Change all libraries" causes the technology and all objects in all libraries to scale. The objects and their facets will now be at a different size, but will appear the same as before.

For example, if you change lambda for the "mocmossub" technology from 400 to 800, and you scale the libraries, then the existing 2x3 lambda transistor will be affected. Its area area will now be 0.8 by 1.2 microns in size. Thus, lambda-based designs are scalable to the desired process.

### Display Units

If you wish to see more concrete units used by Electric, you can switch the display unit to a real distance. Changing the display units affects only how numbers are presented, not their internal storage. For example, selecting the "Microns" display unit causes Electric to describe distances in microns, rather than lambda units. When a real display unit is used, appropriate notation is used to express distances (i.e. a 3 micron wire is "3u" wide).

When you type a distance value in Electric, that value is presumed to be in the current display unit. However, if you add a specific unit symbol to the end of the value, those units are used. These unit symbols are recognized:

Unit | Unit Symbol | Example
Inches | " | 3"
Centimeters | cm | 7cm
Millimeters | mm | 12mm
Mils | mil | 4.5mil
Microns | u | -90u
Centimicrons | cu | 100cu
Millimicrons | mu | 1mu

### Internal Units

Electric has a choice of two different internal units. For IC design, the half-millimicron is appropriate because it is small enough to represent chip geometries. However, because Electric uses 32-bit integers for storage, the half-millimicron can only express values from about -42 inches to +42 inches. If you are using Electric for larger designs (printed circuit boards or other large physical items) then this is too restrictive.

You can choose to switch the internal unit to the half-decimicron, which is 100 times larger, and gives a much wider range of real distance. However, when you change the internal unit, all database units are scaled to keep their size constant. This means that if you switch to the half-decimicron, very tiny distances may get truncated. In general, the internal unit should not be modified unless you are sure you know what you are doing.

| Previous |  |  | Table of Contents |  | Next |