You are on page 1of 57

Tutorial - Layout LVS & PEX with Calibre

Adapted from CIC Full-Custom IC Design Concepts (for WS)

Outline
Verification by Layout Versus Schematic (LVS) with Calibre Tool Setting Verification by Parasitic Extraction (PEX) with Calibre Tool Setting NAND and NOR Layout with Sharing Drain and Source Exercise LAB

Outline
Verification by Layout Versus Schematic (LVS) with Calibre Tool Setting Verification by Parasitic Extraction (PEX) with Calibre Tool Setting NAND and NOR Layout with Sharing Drain and Source Exercise LAB

Layout Versus Schematic


Design View Composer

Layout View Virtuoso Lacker

Layout Netlist

Comparsion Phase

Layout Netlist

Verification Results

Process Flow for LVS


Rule File Completed Source Completed Layout

Calibre LVS
ASCII Report Extracted Netlist LVS Results Database

Determine Errors form Report

Locate Errors using Calibre RVE & Layout Tool

Correct Layout Errors

Calibre Tool

Results Viewing Environment

Parasitic Extraction using XCalibre


Layout Versus Schematic

Design Rule Check

Invoked by Cadence Virtuoso

Calibre LVS Window & Rule Window


Specify the LVS rules file. Indicate the LVS run directory.

File : Contains pulldown menus that allow the user to create, open, save, use recent runset or to exit the GUI. Transcript : Contains pulldown menus that allow the user to save as, echo the transcript to another location and search the file. Setup : Contains pulldown menus that allow the user to select check preference, setup the layout viewer and the icon to turn on/off how tool tips.

Calibre LVS Input Window


Run Hierarchical or Flat mode No service

Inputs
Specify the layout database including the type of file and primary cell. Indicate whether or not to import the layout database from the layout viewer. Layout database type : GDSII Source Database Type : SPICE

Switch to Specify Cell Correspondence


Two difference way

Hierarchical analysis requires the identification of corresponding cells between the source and layout.
LVS-H automatically matches cells in the source and layout with the same name when invoked with the Match cells by name(automatch) Creating the hcells correspondence file

In this tutorial we just use automatch, so be careful to check your layout & source cells name.

Calibre LVS Output Window


Create SVDB Database after finish LVS to watch about errors information

Outputs
Specify the LVS report file. Indicate where the report will be written or view it upon completion

Calibre LVS Control Window

Know about server information

Run Control
Specify how the LVS run is to be executed. Run Single-Threaded or Multi-Threaded.

Calibre LVS Execution Window

Press the button and start run LVS. If select before, it will open RVE When LVS finish.

Transcript
View the transcript for the current Calibre run.

Run LVS
Run Calibre based on the information provided by the user.

Start RVE
Start the result viewing environment.

LVS Report File

ERRORS!!!!

Calibre RVE Window


File Browser: Display a tree view of the input and output files

Discrepancy Information Pane: Display an excerpt from the LVS report related to the discrepancy.

Calibre RVE - Rule File

We assign in the Calibre LVS Rule Window .

Calibre RVE Extraction Report

The Ectraction Results include Extraction Report.

Select detail

Click here

Highlight Errors

Select detail

Click here

More Detail Highlight Error

Know The True Error


The Calibre RVE will hightlight all errors in Cadence Virtuoso layout editor, but sometimes they are not true error. Go through all errors and Debug some errors. Run Calibre LVS again, you will find out some errors which perplex you disappear.

Calibre LVS Report & Debug

Wonderful !!!!!!!!!!! The smiling face is guarantees expensively very much !

LVS Finish

The same

=
Design

Outline
Verification by Layout Versus Schematic (LVS) with Calibre Tool Setting Verification by Parasitic Extraction (PEX) with Calibre Tool Setting NAND and NOR Layout with Sharing Drain and Source Exercise LAB

Process Flow for PEX


Rule File Completed Source Completed Layout

Calibre PEX
ASCII Report Extracted Netlist PEX Results Database

Modify Layout

NO

Meet spec? Simulation YES To Tapeout

Post-Layout Simulation
The netlist of SPICE/CDL format that includes parasitic element can be obtained after the Dracula LPE/PRE (Layout Parameter Extraction). It can be used for post simulation by circuit simulator, such as SPICE. Add simulation control and input stimulus for final simulation(Post-Layout Simulation).

Calibre Tool

Results Viewing Environment

Parasitic Extraction using XCalibre


Layout Versus Schematic

Design Rule Check

Invoked by Cadence Virtuoso

Calibre PEX Window & Rule Window


Specify the PEX rules file. Indicate the PEX run directory.

File : Contains pulldown menus that allow the user to create, open, save, use recent runset or to exit the GUI. Transcript : Contains pulldown menus that allow the user to save as, echo the transcript to another location and search the file. Setup : Contains pulldown menus that allow the user to select check preference, setup the layout viewer and the icon to turn on/off how tool tips.

PEX Run Directory

PEX Run Directory need these two file to execution!!!

Calibre PEX Input Window


Tick this button will enable schematic capture to generate new netlist

Choice GDS file here Choice source netlist here

Inputs
Specify the layout database including the type of file and primary cell. Indicate whether or not to import the layout database from the layout viewer. Layout database type : GDSII Source Database Type : SPICE

Switch to Specify Cell Correspondence


Two difference way

Hierarchical analysis requires the identification of corresponding cells between the source and layout.
LVS-H automatically matches cells in the source and layout with the same name when invoked with the Match cells by name(automatch) Creating the hcells correspondence file

In this tutorial we just use automatch, so be careful to check your layout & source cells name.

Hierarchical Extraction

Calibre PEX Output Window


Output main file name

These nets dont extraction Select nets extraction

Calibre PEX Control Window

Know about server information

Run Control
Specify how the PEX run is to be executed. Run Single-Threaded or Multi-Threaded.

Calibre PEX Execution Window


No ERRORS !! Excellent!

Transcript
View the transcript for the current Calibre run.

Run PEX
Run Calibre based on the information provided by the user.

Start RVE
Start the result viewing environment.

PEX Result

Remember Subckt Sequence!

PEX Result Files


After finish PEX execution Three files be produced.

inv_pex.sp.INV.pxi & inv_pex.sp.pex

Create a New File To Simulation


Using PEX Result Subckt

Be Careful Subckt Sequence!

Run HSPICE & Use Scope


Finish!

Load HSPICE

Watch the signal

Post-Simulation inverter Result

Outline
Verification by Layout Versus Schematic (LVS) with Calibre Tool Setting Verification by Parasitic Extraction (PEX) with Calibre Tool Setting NAND and NOR Layout with Sharing Drain and Source Exercise LAB

Sharing Drain/Source
poly SiO2 N+/P+ N+/P+ PN+/P+ N+/P+ IMP metal contact Sharing drain and source

poly SiO2 N+/P+ N+/P+ PN+/P+

metal contact

Reduce the parasitic resistance

N+/P+ IMP

NAND gate Schematic & Layout


vdd vdd

vo vi1 vi2 gnd

NOR gate Schematic and Layout


vdd vi1

vi2 vo

gnd

gnd

Outline
Verification by Layout Versus Schematic (LVS) with Calibre Tool Setting Verification by Parasitic Extraction (PEX) with Calibre Tool Setting NAND and NOR Layout with Sharing Drain and Source Exercise LAB

Exercise
Try LVS and PEX with last LAB(three inverter). Use HSPICE to Post_simulation. Look different between Pre_simulation and Post_simulation . Input constrain : vi vi gnd! pwl 0 0 9.9n 0 10n 1.8 19.9n 1.8 20n 0 R If we want to measure the net, it will need add label on that net in layout view. For example: we need add label on net in layout view, so we can use measre option to calculate what information we want.

Delay with Pre_sim & Post_sim


Pre-simulation :

Post-simulation :

Delay increased. Because after layout complete real circuit can be calculation.

Outline
Verification by Layout Versus Schematic (LVS) with Calibre Tool Setting Verification by Parasitic Extraction (PEX) with Calibre Tool Setting NAND and NOR Layout with Sharing Drain and Source Exercise LAB

LAB(Due date is 11/17 11:00PM)


Draw the layout view of NAND and NOR gate. Use DRC , LVS , and PEX to check the circuit is working. Use HSPICE to process Pre_sim and Post_sim. In word file, if you write more detail about your LAB work , you can get higher grade in this LAB.

What do you need to submit?


Directory name nand nor nand_sim File in the directory schematic/, symbol/, layout/ schematic/, symbol/, layout/ pre_nand_sim.sp , pre_nand_sim.lis , post_nand_sim.sp (include file which will be produced after PEX verification ) , post_nand_sim.lis pre_nor_sim.sp , pre_nor_sim.lis , post_nor_sim.sp (include file which will be produced after PEX verification ) , post_nor_sim.lis

nor_sim

word file Draw the schematic , symbol, and layout. (_.doc) Run Pre_sim and Post_sim compare result. Run DRC, LVS, PEX process (printscreen) .
_.rar

LAB constrain
Input constrain:
vdd vdd! gnd! 1.8 vi1 vi1 gnd! pwl 0 0 2.2u 0 2.4u 1.8 4.6u 1.8 4.8u 0 R vi2 vi2 gnd! pwl 0 0 1u 0 1.2u 1.8 2.2u 1.8 2.4u 0 R

Measure
rise time of vo : 0.1*1.8~0.9*1.8 rise=1 Fall time of vo : 0.9*1.8~0.1*1.8 fall=1 AVG_power

Reference
CIC(A003)
Physical Verification with Calibre Training Manual

CIC(A004)
Full-Custom IC Design Concepts(for WS) Training Manual

You might also like