Assignment 1.2
Assignment 1.2
ISSN:
Abstract/Summary:
This tutorial shows a step-by step guide on how to design an OR gate layout
using L-edit and how to verify its functionality compared to schematic design
using LVS verification tool.
Contents:
Revision history:
1
About this L-edit Tutorial
VLSI-ECAD RESEARCH LABORATORY
UNIVERSITI TEKNOLOGI MALAYSIA
Hardware & This tutorial requires the following hardware and software:
Software A PC running the Windows NT, 2000 or XP operating systems.
Tanner v8 for Windows.
Requirements Vista and above: run as Administrator and Windows XP
compatibility mode
Prerequisite This tutorial assumes that you have familiar with the following items:
Basic knowledge on OR gate design
Knowledge
2
Creating 2-input OR Gate: Layout Design
This box display the mouse buttons functions. As an example, the Left
Mouse Button (LMB) indicates a „CHOOSE‟ function and the Right
Mouse Button (RMB) indicates a „MENU‟ function.
(0,0) Coordinate
3
2. Change the layout setting to mtsmcn025. File>Replace Setup. Browse for
mtsmcn025.tdb file then click OK. A notification dialogue box will appear. Just click OK.
4
3. To create N-well mask on the layout sheet, click N-Well layer button at the layer tool
and click the Box option button at the Drawing tool. Click the LMB on the sheet and drag to
draw the N Well mask polygon.
N Well
layer
palette
selected
Click here
5
5. Resize the N Well polygon to 43 λ by 21 λ. This is how it is done:
i. Press and hold <Ctrl> and click RMB to the desired edge.
ii. Press and hold <Alt> and drag LMB pointed to the desired edge to resize the polygon.
You can use the keyboard arrow key to scroll around the layout sheet and the zoom button
to zoom the layout sheet according to the mouse function.
6
6. Once you have desired N Well size, you can start drawing the Active layer. To do that,
Select the Active layer button at the layer tool, and draw it as shown below:
2.3
2.3
2.3
*Design rule number generated from L-edit after DRC for error checking. More details in
MOSIS design rule documentation.
7
7. Draw the Poly layer as shown below. The steps are as same as drawing other layers.
3.2
3.1
3.4
3.3
8
8. Draw the N-select mask.
4.2
4.2
9
9. Draw the P-select mask.
4.2
4.2
10
10. Draw the Contact mask.
6.4
6.2 4.3
6.1
6.3
i. size - 2 x 2 (6.1)
ii. minimum distance between Contact and Active - 1.5 (6.2)
iii. minimum distance between Contacts - 2 (6.3)
iv. minimum distance between Poly and Contact - 2 (6.4)
v. minimum distance between Select and Contact - 1 (4.3)
11
11. Draw metal1 mask.
7.1
7.3
i. minimum width - 3
ii. minimum distance between Metal1 and Contact - 1
Nibble style
To draw an orthogonal polygon we must draw square polygon first. If the polygon is drawn,
select the polygon.
Click here
12
The mouse button function box shows „DRAW BOX‟ for LMB. Draw a box on top of
unwanted area then the area will be deleted.
Merge the polygons using the Merge option in the Draw menu. Draw>Merge.
13
12. Define ports as shown below.
14
i. If you want to create a port at Metal1 layer, the port‟s polygon must be from the same
Metal1 layer type (you must first clicked the Metal1 layer button in the layer toolbox).
If it is a Poly‟s port, use Poly layer.
ii.
Click here
15
Draw a small box (2x2 recommended) in the polygon (example: Metal1). A dialogue box
appears.
13. Now that you have vdd, vss, a_bar, b_bar and y ports defined. Proceed with the Design
Rule Check (DRC).
i.
Click here
Check:
- Place error ports
- Write errors to file:
ii.
16
iii. Please define the location and give a name to the .DRC error file. All the errors in the
design will be recorded in this file after DRC. Keep this file as reference. Click Ok to
continue.
iv.
17
v. To remove the X error‟s marks, go to Tools>Clear Error Layer. A dialogue box will
appear. Click 'OK.'
vi. To view the errors, open the .DRC file with any text editor.
vii. The coordinate shown in this file is from the right coordinate to the wrong coordinate.
viii. Make step by step corrections because maybe the other errors will be undone.
14. You should handle ALL the errors before proceed. Now that the errors are handled, we
can extract the spice parameters file.
i.
Click here
18
ii.
Define the extract definition file
State the SPICE output file.
Click „Run‟
Now that you have the SPICE parameter file/netlist, it can be simulated using Tanner tool as
you‟ve done it in S-Edit tutorial.
19
Comparing 2-input OR gate: Schematic entry versus Layout
2. Create new LVS setup. Go to File>New. Then choose LVS Setup and click OK. This will
open the setup window.
3. In Input Files section under File tab, browse for the layout and schematic netlist
files (generated in Schematic and Layout tutorials).
20
4. Once you have browsed the netlist files, specify (click the button) the output file
location in the Output Files section. This is the output file for the caparison result.
21
5. Finally, click the Run Verification button . A Verification window will indicate that
the circuits are equal. If the circuits are not equal, please check your layout design and
regenerate new netlist file for another verification.
22