Integrated Circuit Engineering 2

Lab 2   S-Edit


Introduction

This lab is provided as an introduction to the use of S-Edit. S-Edit can help with circuit design (in conjunction with T-Spice) and with layout verification (in conjunction with LVS). Both of these uses will be covered in this laboratory.

Example Library Files

The S-Edit library file, W:\TannerLibs\sedit_lab\schematic.sdb, contains symbols and schematics for the leaf cells and modules encountered in the first laboratory (EX_INV, EX_NAND2, EX_NOR2, EX_RING, EX_NAND2_LD & EX_NOR2_LD) in addition it contains the symbol and schematic for an OR-AND-INVERT compound gate, EX_OAI22.

The symbol and schematic for this compound gate, EX_OAI22, are shown in simplified form below:

The L-Edit library file, W:\TannerLibs\sedit_lab\layout.tdb, contains layouts for the initial cells encountered in the first laboratory (EX_INV, EX_NAND2 & EX_RING) and a partial layout for the compound gate, EX_OAI22.

The stick diagram and abstract for the partial layout are shown below:

Note that the pull down network (consisting of the NMOS transistors) has been wired whereas only the line of diffusion for the pull up network has been placed.

Note also that this gate uses a different approach to substrate connections; the EX_INV and EX_NAND2 gates used a combined contact and tap at one end of a line of diffusion, whereas the EX_OAI22 gate uses a line of taps along the each power rail. The first approach leads to wider cells while the second produces taller cells. For this reason it is not usual to mix the styles within a cell library where all cells should be the same height.

Procedure

Copy and Examine Schematic Library

Take a copy of the example schematic file W:\TannerLibs\sedit_lab\schematic.sdb and save it in your own user space. Open the new schematic.sdb file using S-Edit.

Simulate the EX_OAI22 Schematic

Copy and Examine Layout Library

Take a copy of the example layout file W:\TannerLibs\sedit_lab\layout.tdb and save it in your own user space in the same directory as the schematic.sdb file. Open the new layout.tdb file using L-Edit. Confirm that the layout of the EX_OAI22 cell matches the incomplete stick diagram shown above.

Complete the EX_OAI22 Layout

Complete the wiring of the PMOS transistors in the pull up network according to the stick diagram below:

There is a mistake in this stick diagram. We will ignore the problem now and attempt to solve it later.

Simulate the EX_OAI22 Layout

Extract and simulate the layout in the manner used in the first lab session. The input stimulus should be the same as that used to simulate the schematic. Note that, for layout simulation, there is no need to explicitly add the MOS models to the Spice file since they should be added automatically during extraction.

Confirm that the result is functionally the same as for the schematic simulation. Timing will differ since only the layout simulation takes account of delays due to parasitic capacitances. If the result is not the same, re-check your wiring.

Perform LVS check

A layout versus schematic (LVS) check is an important part of any full custom design flow. We check that layouts produced by hand match the schematics from which they were developed.

Note that LVS has picked up a fault not spotted by apparently exhaustive test vectors applied during simulation. The reason is that a node allowed to float during the simulation will retain its voltage due to capacitance effects. The result will be different if the same test vectors are applied in a different order.

Further Use of S-Edit

If you have time

To further familiarize yourself with S-Edit you might like to:

Use of S-Edit for Assignment

S-Edit Limitations

S-Edit is the least developed of the tools in the Tanner toolset (possibly because Tanner expect commercial customers to purchase a third party schematic package). There are a couple of limitations that you should be aware of:

Further Reading

This lab is not intended as a tutorial in the use of S-Edit. The user interface for S-Edit is very similar to that of L-Edit and should be relatively easy to pick up. For more information see the S-Edit tutorials found in the on-line documentation; Help->S-Edit User Guide (pp20-38).


Iain McNally

13-3-2003