The Logical Effort tool examines a digital schematic and determines the optimal transistor size to use in order to get maximum speed. The tool is based on the book Logical Effort, by Ivan Sutherland, Bob Sproull, and David Harris (Morgan Kaufmann, San Francisco, 1999).




To control Logical Effort, use the "Logical Effort" preferences (in menu File / Preferences..., "Tools" section, "Logical Effort" tab) Besides setting the maximum stage gain for whole-cell analysis, the dialog allows other settings.


Figure 9.14

Note: It is highly recommended that the user is familiar with the concept of Logical Effort as described in the above book before using the Logical Effort Tool in Electric.

Two commands may be given to the Logical Effort tool:

Optimize for Equal Gate Delays

Optimizes all Logical Effort gates (Cells) to have the same delay. The delay is specified by the Global fan-out (step-up) option. This is *NOT* a path optimization algorithm.

A Logical Effort gate is simply a schematic or layout cell that conforms to the following specifications:

Figure 9.25

On the inputs and output Exports of the Cell, we can define an attribute named "le" (Double-click on the export text to get the Export Properties dialog, then hit the Attributes button to define the attribute). The value of this attribute is the logical effort of that port. For example, a NAND gate typically has a logical effort on each input of 4/3, and an output logical effort of 2. An inverter is defined to have an input logical effort of 1, and an output logical effort of 1.

The size assigned to the logical effort gate is retrieved via the "LE.getdrive()" call. This value can then be used to size transistors within the gate. The size retrieved is scaled with respect to a minimum sized inverter (as are all other logical effort parameters). So a size of "1" denotes a minimum sized inverter.

While these attributes are defined on the layout or schematic Cell *definition*, they must also be present on the instantiated icon or instance of that definition. By default they will be.

Finally, this command should be performed on a Cell containing instances of Logical Effort gates. There must be at least one load that is driven by the gates in order for them to be sized. A load is either an Electric transistor or capacitor. Gates that do not drive loads, or that do not drive gates that drive loads, will not be assigned sizes.

Advanced Features

There are several advanced features that may be added to the Cell definition:

Print Info for Selected Node

After running sizing, information about a specific logical effort gate can be found by selecting the gate instance and running this command.