ASAP7 Tutorial
ASAP7 Tutorial
Copy the folder asap7 into your home directory, this will be your work directory for 7nm:
cp -r /home/eng/v/vks160030/asap7/ ~
cd asap7
Running Virtuoso
Every time you quit, before starting Virtuoso or Innovus, type in the following commands.
. /home/eng/v/vks160030/profile.ic-adv_asap7
virtuoso
Create New Library
In Library give the name of the library (can be any other name too)
In Technology File select Attach to an existing an existing technology library
Click OK
Select asap7_TechLib
Click OK
For Layout
Click OK
i) Select Gate drawing layer and Press R to draw the layer. Draw the layer with a width of
0.02u and a height of 0.288u. Place the Gate at a distance of 0.17u from the reference y-
axis as shown in the picture below.
Place 2 more gates beside this gate, the distance between each gate should be 0.034um
and gate pitch = 0.054um
Gate pitch
ii) Select n drawing layer. Draw the rst n as shown in the picture below, it should be
touching the y-axis and distance from the x-axis is 0.019um. The width of n must be
0.007um.
fi
fi
fi
fi
Similarly place 9 ns above this n, the distance between each n should be 0.02um and
n pitch = 0.027um
fi
fi
fi
fi
Fin pitch
iii) Draw the BOUNDARY drawing layer as shown in picture, it should cover all gates and
ns.
fi
iv) Draw well drawing (0.162um x 0.144um)
v) Draw GCut drawing. It is drawn at the center of dummy gates (0.054um x 0.044um) and
also at the top and bo om (0.162um x 0.037um). Please refer the below image. At the
bo om GCut layer is 0.006um below the x-axis and at the top its 0.006 above the
BOUNDARY layer.
tt
tt
vi) Draw Ac ve drawing for pfet and nfet (0.07um x 0.081um)
Wp = Wn = 0.081um. On le and right, distance between the dummy gate and Ac ve
layer is 0.009um. On top and bo om, distance between the GCut layer and Ac ve layer
is 0.005um.
ti
ft
tt
ti
ti
vii) Draw SDT drawing on Ac ve (0.024 um x 0.081 um). The distance between Gate and SDT
is 0.005um. SDT is drawn on Ac ve layer wherever connec ons are to be made. If a
source or drain has no connec ons, then SDT layer should not be drawn.
ti
ti
ti
ti
viii) Draw LISD drawing on top on SDT drawing, wherever VDD and GND connec ons are to
be made, extend the LISD layer above the Ac ve layer by 0.027um as shown in the
below picture.
ti
ti
ix) Draw LIG drawing. ChangeOn top and bottom for connecting the LISD layer to VDD
and GND (0.162um x 0.016um). One for gate connection (0.022um x 0.024um).
1 2
6 7
xi) Draw M1 to connect the nets and for VDD and GND
In the below figure, all other layers are disabled so that only M1 and V0 are visible
In the picture below all drawn layers are visible
xii) Draw Pselect on top on pfet and Nselect on top of nfet (0.162um x 0.135um).
Only V0, LISD, LIG, Pselect, Nselect
The picture below has all drawn layers are visible
xiii) VDD and GND are brought to M2.
Input and output pins are brought up to M3.
For VDD and GND, draw M2 on top of M1, place V1 (0.018um x 0.018um) to connect M1
to M2
In the below picture only M1, M2, V1 are made visible
All drawn layers are visible below
Now create labels for VDD and GND as VDD! and GND! using M2 pin layer
On the top tool bar, Create -> Label
Schema c
ti
Go to Virtuoso main window
File -> New -> Cellview
Click OK
Rules: In DRC Rules File, browse and select the Calibre_DRC_Rules le which is in your work
directory (asap7)
In DRC Run Directory, if you are unable to edit in the interac ve window, go to les and create a
new directory and browse that directory in the interac ve window.
Inputs:
ti
ti
fi
fi
Outputs:
Run Control:
Click on the Run DRC tab
Go to Library Manager -> In Library column, select asap7_TechLib -> Tap_Cell -> Open layout
Copy the en re Tap_Cell and paste it beside the inverter as shown below
ti
fi
Make sure all the layers of Tap_Cell align with your inverter layout
Note: When you draw layouts manually and place them one beside another, you just need to
have 1 Tap_Cell in entire row. Tap cells help pfets and nfets to tie to VDD and GND levels
so that they don't drift too much.
This means that in the nal stages of your project 1 when you perform DRC of all standard
cell, only 1 Tap cell needs to be placed at the right corner.
fi
Run DRC again, you should have no errors
Layout vs Schema c
Rules: In LVS Rules File, browse and select the Calibre_LVS_Rules le which is in your work
directory (asap7)
In LVS Run Directory, if you are unable to edit in the interac ve window, go to les and create a
new directory and browse that directory in the interac ve window.
Inputs:
Outputs:
ti
ti
Run Control:
Click on Run LVS
Parasi c Extrac on
Rules: In PEX Rules File, browse and select the Calibre_RCX_Rules le which is in your work
directory (asap7)
In PEX Run Directory, if you are unable to edit in the interac ve window, go to les and create a
new directory and browse that directory in the interac ve window.
ti
ti
ti
ti
fi
fi
Inputs:
Layout tab: Select the op on Export from layout viewer
Netlist tab: Select the op on Export from schema c viewer, Format: SPICE
ti
ti
ti
Outputs: Fomat -> HSPICE, Use Names From -> SCHEMATIC
Run Control
Click on Run PEX
Go to the loca on where you saved inverter.pex.netlist le and use this le to run HSPICE.
ti
ti
ti
fi
fi
HSPICE
Make a new directory for HSPICE simula ons in your work directory
mkdir ~/asap7/hspice
cd ~/asap7/hspice
Copy the parasi c extracted les into this directory: 3 les should be copied into this loca on
⇒ inverter.pex.netlist
⇒ inverter.pex.netlist.pex
⇒ inverter.pex.netlist.INVERTER.pxi