You are on page 1of 111

Laboratory 3

Capacitor Design
Manual
Capacitor Design Manual Outline

• Part 1: MOS VARACTOR CAPACITOR


• Part 2: METAL into METAL CAPACITOR
• Part 3: FINGER-TYPE CAPACITOR

Resistor Design || MSU-IIT EECE 2


Layout Tips!
• Be familiar with the shortcut keys and minima Rule.
Practice a lot!
• Select Assist on the SmartDRD option. This will guide
you for the minimum rule.
• Always Check DRC even if you’re halfway your layout
process so you can check minor errors ahead. Refer
to DRC Verification Part of this manual for the DRC
settings.
• On this manual, refer to the property window for the
layer and size.
Resistor Design || MSU-IIT EECE 3
Add New Cell Category

Right Click.

Resistor Design || MSU-IIT EECE 4


Part 1: MOS VARACTOR
CAPACITOR
–Schematic
–Layout
–Verification

Resistor Design || MSU-IIT EECE 5


MOS VARACTOR CAPACITOR
SCHEMATIC

Resistor Design || MSU-IIT EECE 6


Add New Cell and View

Right Click.

Select.

Resistor Design || MSU-IIT EECE 7


Add Instance from Library
Click i

Resistor Design || MSU-IIT EECE 8


Choose MOS_VAR_B Cell from
tsmc18rf Library

Resistor Design || MSU-IIT EECE 9


Adjust the sizes of the Capacitor
Devices Click Q to view the
Property Window

Adjust segment length(L) and segment


width (W) to achieve desired capacitance.

Resistor Design || MSU-IIT EECE 10


Add PIN for Terminal A.

Make sure that the direction is


set into inputoutput

Resistor Design || MSU-IIT EECE 11


Add PIN for Terminal B.

Make sure that the direction is


set into inputoutput

Resistor Design || MSU-IIT EECE 12


MOS VARACTOR CAPACITOR
Create the layout view in the same cell with the schematic and symbol.

Resistor Design || MSU-IIT EECE 13


DIFFUSION DRAWING
Schematic: Width = 10.03 µm Length = 7.72 µm
Layout: Diff Height = 10.03 µm Poly Width = 7.72 µm

Click R to create a rectangle. Adjust


Attributes according to the schematic
parameters.

Resistor Design || MSU-IIT EECE 14


POLY1 DRAWING
Schematic: Width = 10.03 µm Length = 7.72 µm
Layout: Diff Height = 10.03 µm Poly Width = 7.72 µm

Click R to create a rectangle. Adjust


Attributes according to the schematic
parameters.

Resistor Design || MSU-IIT EECE 15


CONTACT DRAWING ON DIFFUSION

Add enough numbers of Contacts on the


Diffusion.

Resistor Design || MSU-IIT EECE 16


CONTACT DRAWING ON POLY

Add enough numbers of Contacts on the


Diffusion.

Resistor Design || MSU-IIT EECE 17


CONTACT DRAWING

Contacts on Diffusion and Poly


layers.

Resistor Design || MSU-IIT EECE 18


METAL1 DRAWING OVER POLY

Add Metal1 over the Poly


connecting the contacts on the
upper and lower portion of the Poly.

Resistor Design || MSU-IIT EECE 19


METAL1 ON DIFFUSION CONTACTS

Resistor Design || MSU-IIT EECE 20


MULTIPLE FINGERS

For Multiple Fingers, select the first


finger and copy (Click C) to create
another finger. Observe minima rule for
the distance. Extend the Diffusion Layer
by stretching (Click S).

Resistor Design || MSU-IIT EECE 21


METAL1 AND DIFFUSION CONTACTS

Copy and place Metal1 and


Contacts on the other end of
the Diffusion.

Resistor Design || MSU-IIT EECE 22


N+ IMPLANT LAYER

Add NIMP Layer. Observe Minima


Rule.

Resistor Design || MSU-IIT EECE 23


NWELL LAYER

Add NWELL Layer. Observe Minima


Rule.

Resistor Design || MSU-IIT EECE 24


NWELL AND NIMP

Stretch the NWELL and NIMP Layers to


cover the whole MOS Capacitor.

Resistor Design || MSU-IIT EECE 25


METAL1 LAYER

Add a wide Metal1 Layer on top.


Observe Minima Rule.

Resistor Design || MSU-IIT EECE 26


METAL1 LAYER

Add wide Metal1 Layer at bottMetal1


over the Polyom and connect the.
Observe Minima Rule.

Resistor Design || MSU-IIT EECE 27


METAL1 LAYER

Stretch the Metal1 from the top to the


Metal1 with Diffusion contacts. Observe
45 degrees on the intersection.

Resistor Design || MSU-IIT EECE 28


VARDUMMY DRAWING

Add VARDUMMY Drawing. Observe


Minima Rule.

Resistor Design || MSU-IIT EECE 29


PIN A

Make sure metal pin is the same with


the layer. Name is the same with the
schematic.

Resistor Design || MSU-IIT EECE 30


PIN B

Make sure metal pin is the same with


the layer. Name is the same with the
schematic.

Resistor Design || MSU-IIT EECE 31


MOS VARACTOR CAPACITOR Layout
Perform Verifications:
(Refer to the Verification Part of the Manual)
DRC, LVS and LPE
Results example:
DRC RESULT

LVS and LPE RESULT

Parasitic Capacitance
Capacitance (Cg B A) = 2.33378 pF

Resistor Design || MSU-IIT EECE 32


DRC Verification

Add Runset file.


Path: /home/documents/TSMC_018um/hercules/drc
Then Click OK.

You must only this kind of error on the DRC Errors


Tab. This is just fine for this Laboratory.

Resistor Design || MSU-IIT EECE 33


LVS Verification
Go back to the terminal. Type gedit
empty.subckt & then Enter. It will
open a gedit window where you can
edit the file. Add the subckt name
for nwell with its ports.

Resistor Design || MSU-IIT EECE 34


LVS Setup P.1
Add Runset file.
Path:
/home/documents/TSMC_018um/hercules/lvs

On the Netlisting Option Tab, NetRan Option:


-cdl-a –cdl-p –mprop –sp
/home/accountname/empty.subckt

Resistor Design || MSU-IIT EECE 35


LVS Setup P.2

Select layer map.


Path: account/TSMC018UM/tsmc18rf/
Then RUN LVS.

Resistor Design || MSU-IIT EECE 36


LVS Result
This is verifies that the layout design matches the schematic design.
If not, debug the errors.

Resistor Design || MSU-IIT EECE 37


LPE Verification
Setup P.1

Select Runset file.


Path: /home/documents/TSMC_018um/hercules/starrc

Resistor Design || MSU-IIT EECE 38


LPE Setup P.2
Select MilkyWay XTR View. Go to the lvs folder from the
LVS verification.
Path: /home/account/TSMC018UM/Inverter/hercules_lvs

Select Mapping file.


Path: /home/documents/TSMC_018um/hercules/starrc
Resistor Design || MSU-IIT EECE 39
LPE Setup P.3
Select GRD file.
Path: /home/documents/TSMC_018um/hercules/starrc

Select Output Runset Path. Path: /home/account/TSMC018UM/EE270/Lab1_Inverter/


Create new Folder Output. create filename, output.spf then save and Run LPE.
Resistor Design || MSU-IIT EECE 40
LPE Result
Refer to the Custom Designer Console of This is verifies that the layout design has no errors
in terms of the parasitic extraction.

LPE output can be viewed on gedit. Go


back to xtart terminal window, type gedit
& then Click Enter. It will open a new
window of gedit. Click Open to open the
file: output.spf.

Resistor Design || MSU-IIT EECE 41


Part 2: Metal into Metal
Capacitor (MiM)
– Calculation
– Schematic
– Layout
– Verification

Resistor Design || MSU-IIT EECE 42


MiM CALCULATION

Resistor Design || MSU-IIT EECE 43


MiM CALCULATION
Assigned Capacitor = 2.35 pF

The Synopsys tool provides the capacitance of the


single segment once Width and Length are given.
Choose preferred width and length (where W=L).
Check the capacitance of single segment based on
the Property Window. Calculate for the number of
segments.

For PARALLEL connection: Preferably use this connection


#
= ( )

# of segments = must be perfect square i.e. 25, 36,


81, etc

In this design,
# of segments = 121 connected in parallel
Cs = 0.8745155 pF
Ctotal= 2.35 pF
Resistor Design || MSU-IIT EECE 44
Add New Cell and View

Resistor Design || MSU-IIT EECE 45


Add Instance from Library
Click i

Resistor Design || MSU-IIT EECE 46


Choose MIMCAP_M4 Cell from
tsmc18rf Library

Resistor Design || MSU-IIT EECE 47


Adjust the sizes of the Capacitor
Device Click Q to view the
Property Window

Adjust segment length(L) and segment


width (W) to achieve desired capacitance.

Resistor Design || MSU-IIT EECE 48


Multiples

Resistor Design || MSU-IIT EECE 49


Connect the terminals in parallel to
Terminal A.

Add Pin A. Make sure that the


direction is set into inputoutput

Resistor Design || MSU-IIT EECE 50


Connect the other terminals in parallel
to Terminal B.

Add Pin B. Make sure that the


direction is set into inputoutput

Resistor Design || MSU-IIT EECE 51


MOS VARACTOR CAPACITOR

Resistor Design || MSU-IIT EECE 52


MOS VARACTOR CAPACITOR
Create the layout view in the same cell with the schematic and symbol.

Resistor Design || MSU-IIT EECE 53


METAL4 DRAWING
Schematic: Width = 28.74 µm Length = 28.74 µm
Layout: Height = 28.74 µm Width = 28.74 µm

Click R to create a rectangle. Adjust


Attributes according to the schematic
parameters.

Resistor Design || MSU-IIT EECE 54


CTM3 DRAWING
Schematic: Width = 28.74 µm Length = 28.74 µm
Layout: Height = 28.74 µm Width = 28.74 µm

Click R to create a rectangle. Adjust


Attributes according to the schematic
parameters.

Resistor Design || MSU-IIT EECE 55


METAL3 DRAWING
Schematic: Width = 28.74 µm Length = 28.74 µm
Layout: Height = 28.74 µm Width = 28.74 µm

Click R to create a rectangle. Adjust


Attributes according to the schematic
parameters.

Resistor Design || MSU-IIT EECE 56


CTMDUMMY DRAWING

Click R to create a rectangle. Adjust


Attributes according to the schematic
parameters.
Resistor Design || MSU-IIT EECE 57
METAL3-METAL4 VIA

Fill in the metal with via34 . Balance the vias


(centered from either top or side)
Resistor Design || MSU-IIT EECE 58
Single Segment MiM

Resistor Design || MSU-IIT EECE 59


Multiple Segments

No minimum distance for each unit


capacitor. Just makes sure it doesn’t
overlap.

Resistor Design || MSU-IIT EECE 60


Multiple Segments

Duplicate to # of segments. For


this, 121 segments formed into
square.

Resistor Design || MSU-IIT EECE 61


METAL3 CONNECTION

Connect all metal 3.

Resistor Design || MSU-IIT EECE 62


METAL4 CONNECTION

Connect all metal 4.

Resistor Design || MSU-IIT EECE 63


PIN A

Make sure metal pin is the same with


the layer. Name is the same with the
schematic.

Resistor Design || MSU-IIT EECE 64


PIN B

Make sure metal pin is the same with


the layer. Name is the same with the
schematic.

Resistor Design || MSU-IIT EECE 65


MiM Capacitor Layout
Perform Verifications:
(Refer to the Verification Part of the Manual)
DRC, LVS and LPE
Results example:
DRC RESULT

LPE RESULT

Capacitance (C2 B A) = 2.34781 pF


Resistor Design || MSU-IIT EECE 66
LVS Verification
• For this device, the only purpose why we
need to perform the LVS is in order for it to
generate the MILKWAY_OUTPUT folder
necessary during LPE, to get its capacitance.
This is because the device is not supported by
the present LVS runset.

Resistor Design || MSU-IIT EECE 67


LVS Setup P.1
Add Runset file.
Path:
/home/documents/TSMC_018um/hercules/lvs

On the Netlisting Option Tab, NetRan Option:


-cdl-a –cdl-p –mprop –sp
/home/accountname/empty.subckt

Resistor Design || MSU-IIT EECE 68


LVS Setup P.2

Select layer map.


Path: account/TSMC018UM/tsmc18rf/
Then RUN LVS.

Resistor Design || MSU-IIT EECE 69


LPE Verification
Setup P.1

Select Runset file.


Path: /home/documents/TSMC_018um/hercules/starrc

Resistor Design || MSU-IIT EECE 70


LPE Setup P.2
Select MilkyWay XTR View. Go to the lvs folder from the
LVS verification.
Path: /home/account/TSMC018UM/Inverter/hercules_lvs

Select Mapping file.


Path: /home/documents/TSMC_018um/hercules/starrc
Resistor Design || MSU-IIT EECE 71
LPE Setup P.3
Select GRD file.
Path: /home/documents/TSMC_018um/hercules/starrc

Select Output Runset Path. Path:


/home/account/TSMC018UM/EE270/Lab1_Inverter/
Create new Folder Output. create filename, output.spf
then save and Run LPE.
Resistor Design || MSU-IIT EECE 72
LPE Result
Refer to the Custom Designer Console of This is verifies that the layout design has no errors
in terms of the parasitic extraction.

LPE output can be viewed on gedit. Go


back to xtart terminal window, type gedit
& then Click Enter. It will open a new
window of gedit. Click Open to open the
file: output.spf.
IMPORTANT NOTE!
***Capacitance value is greatly affected
by the metal sizes used to connect the
segments. Make sure to use minima rule
as much as possible.
If the Capacitance Value needed is not
achieved on first try, adjust sizes of the
metal connections until such Capacitance
is obtained.
Resistor Design || MSU-IIT EECE 73
Part 3: FINGER-TYPE
CAPACITOR
–Schematic
–Layout
–Verification

Resistor Design || MSU-IIT EECE 74


MOS VARACTOR CAPACITOR

• Create a schematic cellview and create a schematic circuit as shown. This is just
an ideal capacitor because the finger-type capacitor is not yet supported by the
0.18μm library.
Resistor Design || MSU-IIT EECE 75
Add New Cell and View

Resistor Design || MSU-IIT EECE 76


Add Instance from Library
Click i

Resistor Design || MSU-IIT EECE 77


Choose CAP Cell from tsmc18rf Library

Resistor Design || MSU-IIT EECE 78


Adjust the sizes of the Capacitor
Device

Simply add the capacitance of the device.

Resistor Design || MSU-IIT EECE 79


Add PIN for Terminal A.

Make sure that the direction is


set into inputoutput

Resistor Design || MSU-IIT EECE 80


Add PIN for Terminal B.

Make sure that the direction is


set into inputoutput

Resistor Design || MSU-IIT EECE 81


FINGER-TYPE CAPACITOR LAYOUT
Create the layout view in the same cell with the schematic and symbol.

*Layout of the Finger-Type Capacitor for this Laboratory utilizes Trial and Error... Set a
certain width and height for the metals. Stack up metal1 to metal 5, connected
through vias. Run LPE to check the Capacitance. Try to add more fingers until desired
capacitance is achieved.
Resistor Design || MSU-IIT EECE 82
METAL1 DRAWING

Click R to create a rectangle. Adjust


Attributes according to the schematic
parameters.

Resistor Design || MSU-IIT EECE 83


METAL1-METAL2 VIA

Add via M1_M2

Resistor Design || MSU-IIT EECE 84


METAL2 DRAWING

Click R to create a rectangle. Adjust


Attributes according to the schematic
parameters.

Resistor Design || MSU-IIT EECE 85


METAL5

Repeat adding via and then next


metal layer until metal layer 5.

Resistor Design || MSU-IIT EECE 86


METAL LAYER ON FINGER

Draw a Metal1 Layer representing a


finger of the capacitor.

Resistor Design || MSU-IIT EECE 87


FINGER FORMATION

Stretch all the metals to over lap with the


“finger”.

Resistor Design || MSU-IIT EECE 88


METAL5 LAYER ON “ODD” FINGER

Add Metal5 Layer with the same


size of the Metal1 Layer.

Resistor Design || MSU-IIT EECE 89


METAL3 LAYER ON “ODD” FINGER

Add Metal3 Layer with the same


size of the Metal1 Layer.

Resistor Design || MSU-IIT EECE 90


“EVEN” FINGER

Form the “Even” Finger by copying


the metal layers 1-5 with vias.

Resistor Design || MSU-IIT EECE 91


METAL2 ON “EVEN” FINGER

Resistor Design || MSU-IIT EECE 92


METAL4 LAYER ON “EVEN” FINGER

Add Metal2 Layer with the same


size of the Metal2 Layer.

Resistor Design || MSU-IIT EECE 93


“EVEN” FINGER

Resistor Design || MSU-IIT EECE 94


MULTIPLE FINGERS FORMATION

Copy the single even and odd


fingers to form multiple fingers
layers.

Resistor Design || MSU-IIT EECE 95


MULTIPLE FINGERS FORMATION

Just stretch the stacked metals 1-5 to the


end of the finger. At the top, there must
be a extension aligned to the last finger.

Resistor Design || MSU-IIT EECE 96


MULTIPLE FINGERS FORMATION

Just stretch the stacked metals 1-5 to the


end of the finger. Align the stacked metals
with the last Finger.

Resistor Design || MSU-IIT EECE 97


PIN A

Make sure metal pin is the same with


the layer. Name is the same with the
schematic.

Resistor Design || MSU-IIT EECE 98


PIN B

Make sure metal pin is the same with


the layer. Name is the same with the
schematic.

Resistor Design || MSU-IIT EECE 99


FINGER-TYPE

A partial layout of the Finger Type capacitor. It needs to be checked on LPE for the
capacitance value. Here comes the trial and error part. Check for LVS and LPE.
For the LPE, check the capacitance., if the desired value is not met, add or
subtract fingers. Then run again the LPE to check the capacitance.
Resistor Design || MSU-IIT EECE 100
Finger-Type Capacitor Layout
Perform Verifications:
(Refer to the Verification Part of the Manual)
DRC, LVS and LPE
Results example:
DRC RESULT

LVS and LPE RESULT

Parasitic Capacitance
Capacitance (Cg B A) = 2.33378 pF

Resistor Design || MSU-IIT EECE 101


LVS Verification
• For this device, the only purpose why we
need to perform the LVS is in order for it to
generate the MILKWAY_OUTPUT folder
necessary during LPE, to get its capacitance.
This is because the device is not supported by
the present LVS runset.

Resistor Design || MSU-IIT EECE 102


LVS Setup P.1
Add Runset file.
Path:
/home/documents/TSMC_018um/hercules/lvs

On the Netlisting Option Tab, NetRan Option:


-cdl-a –cdl-p –mprop –sp
/home/accountname/empty.subckt

Resistor Design || MSU-IIT EECE 103


LVS Setup P.2

Select layer map.


Path: account/TSMC018UM/tsmc18rf/
Then RUN LVS.

Resistor Design || MSU-IIT EECE 104


LVS Result
This is verifies that the layout design matches the schematic design.
If not, debug the errors.

Resistor Design || MSU-IIT EECE 105


LPE Verification
Setup P.1

Select Runset file.


Path: /home/documents/TSMC_018um/hercules/starrc

Resistor Design || MSU-IIT EECE 106


LPE Setup P.2
Select MilkyWay XTR View. Go to the lvs folder from the
LVS verification.
Path: /home/account/TSMC018UM/Inverter/hercules_lvs

Select Mapping file.


Path: /home/documents/TSMC_018um/hercules/starrc
Resistor Design || MSU-IIT EECE 107
LPE Setup P.3
Select GRD file.
Path: /home/documents/TSMC_018um/hercules/starrc

Select Output Runset Path. Path: /home/account/TSMC018UM/EE270/Lab1_Inverter/


Create new Folder Output. create filename, output.spf then save and Run LPE.
Resistor Design || MSU-IIT EECE 108
LPE Result
Refer to the Custom Designer Console of This is verifies that the layout design has no errors
in terms of the parasitic extraction.

LPE output can be viewed on gedit. Go back to xtart


terminal window, type gedit & then Click Enter. It will
open a new window of gedit. Click Open to open the
file: output.spf.

Capacitance is not what is desired so try to add more


fingers to the design.
Then Run LVS and LPE, then check LPE output again.
Resistor Design || MSU-IIT EECE 109
LPE Result (Final)
Refer to the Custom Designer Console of This is verifies that the layout design has no errors
in terms of the parasitic extraction.

The desired Capacitance is achieved.

Resistor Design || MSU-IIT EECE 110


Done!

Congratulations!

Resistor Design || MSU-IIT EECE 111

You might also like