LVS Best Practice and
Debugging
颜全/Oliver
Sr. Calibre AE
June, 2020
Agenda
1. LVS Basic
What is LVS
LVS Flow Chart
2. RVE Review
Multilayer highlights
Search
Short Isolation
3. LVS Case Study
Short
Open
Seed Promotion
© Mentor Graphics Corp. Company Confidential
2
LVS BASIC
© Mentor Graphics Corp. Company Confidential
3
What is LVS?
Layout vs. Schematic (Netlist)
Two Phases
— Extraction - Layout
— Compare
© Mentor Graphics Corp. Company Confidential
4
Calibre nmLVS Execution Examples
“Normal” – Extraction & Compare in one step
○ > calibre –lvs –hier <command file>
Extraction Only (Hierarchical SPICE netlist from the layout)
○ > calibre –spice <layout spice file name> <command file>
Compare Only (Using an existing extracted SPICE netlist)
○ > calibre –lvs –hier –layout <layout spice file name> <command file>
Verify Source Netlist (Check for source netlist compile)
○ > calibre –lvs –cs <command file>
Useful Switches (Add before the command file name)
○ –turbo <no. of processors> Multi-threaded parallel processing
– No. of processors is a positive integer specifying the number of CPU’s needed for run
– No number will use all CPU’s on the machine
○ –hyper Enables the concurrent, parallel execution of SVRF operations
– Can only be used with –turbo
○ –hcell <cell list> Cell correspondence file for compare © Mentor Graphics Corp. Company Confidential
5
Hierarchical Engine
The power behind Calibre
Very efficient and smart
> calibre –lvs –hier –hcell <cell list> –hyper <command_file>
© Mentor Graphics Corp. Company Confidential
6
HCell List
List of cells to be used for compare in the hierarchical extraction
Option 1: Generated List (Text File) used with the –hcell switch in the Calibre execution
command line
— > calibre –lvs –hier –hcell <cell list> -hyper <command file>
— Example: <layout name> <source name>
Option 2: HCELL command file syntax
— HCELL <layout name> <source name>
© Mentor Graphics Corp. Company Confidential
7
HCell List (Cont.)
What should be included?
○ User preference
○ Suggestions
– IP Blocks
– Memories
– Standard Cells (Anything with a transistor in it)
– IO Cells
Follow the hierarchy of the design.
○ Cells known to have equal parts
○ Layout and Netlist at the same hierarchy of the design
© Mentor Graphics Corp. Company Confidential
8
When to Use Extraction only flow
Short Isolation
Check Floorplan stage data
○ IO Ring
– Diodes Placed correctly
– ESD Clamps placed correctly
– Power Breaks in the correct locations
○ Power / Ground Structure
○ Multi Rail P/G Structure
○ Special Nets
○ Hand Routed Nets
© Mentor Graphics Corp. Company Confidential
9
Compare
> calibre –lvs –hier –hcell <cell list>
<command_file>
What is needed:
○ Command file
○ Extracted results
○ Verilog/Spice netlist
– Spice is created from Verilog using v2lvs
○ Hcell list
○ Do not need to re-run extraction if Netlist has changed and layout
has not
Know your design and what is expected
© Mentor Graphics Corp. Company Confidential
10
LVS Flow Chart
© Mentor Graphics Corp. Company Confidential
11
RVE REVIEW
© Mentor Graphics Corp. Company Confidential
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
LVS CASE STUDY
© Mentor Graphics Corp. Company Confidential
30
LVS Case Study
Case List:
#1 - Cell-Level Short
#2 - Combined Short and Open
2 Conn.
#3 – Seed Promotion with Bad
Devices
© Mentor Graphics Corp. Company Confidential
31
Case #1 — Cell-level Short
Case #1 - Cell-Level Short
The Problem
A piece of metal in a cell is
shorting power and ground at
3 Shorts
the top level.
Return to Case List
© Mentor Graphics Corp. Company Confidential
32
Case #1 — Cell-Level Short (Cont.)
© Mentor Graphics Corp. Company Confidential
33
Case #1 — Run LVS Job
© Mentor Graphics Corp. Company Confidential
34
Case #1 — Check Extraction Results
© Mentor Graphics Corp. Company Confidential
35
Case #1 — Invoke Short Isolation
© Mentor Graphics Corp. Company Confidential
36
Case #1 — Highlight the Short
© Mentor Graphics Corp. Company Confidential
37
Case #1 — Invoke Short Isolation Options
© Mentor Graphics Corp. Company Confidential
38
Case #1 — Examine Isolation Results
© Mentor Graphics Corp. Company Confidential
39
Case #1 — Set Up Highlight Colors
© Mentor Graphics Corp. Company Confidential
40
Case #1 — Highlight Metal2
© Mentor Graphics Corp. Company Confidential
41
Case #1 — Highlight Metal1
© Mentor Graphics Corp. Company Confidential
42
Case #1 — View Cell Detail
© Mentor Graphics Corp. Company Confidential
43
Case #1 — Fix the Short
© Mentor Graphics Corp. Company Confidential
44
Case #1 — LVS Is Correct
© Mentor Graphics Corp. Company Confidential
45
Case #1 — Conclusion
Case #1 - Cell-Level Short
The Problem
A piece of metal in a cell is
shorting power and ground at
3 Shorts
the top level.
Lesson Learned
Use of the short isolation BY
LAYER feature can help locate
shorting geometries.
Return to Case List
© Mentor Graphics Corp. Company Confidential
46
Case #2 — Combined Short and Open
Case #2 - Combined Short and
Open
The Problem
An incorrect metal connection
has shorted two nets and also
2 Conn.
created an open circuit.
Return to Case List
© Mentor Graphics Corp. Company Confidential
47
Case #2 — Combined Short and Open (Cont.)
© Mentor Graphics Corp. Company Confidential
48
Case #2 — Run Job
© Mentor Graphics Corp. Company Confidential
49
Case #2 — Expand Analysis Results
© Mentor Graphics Corp. Company Confidential
50
Case #2 — Highlight Shorted Net
© Mentor Graphics Corp. Company Confidential
51
Case #2 — Highlight Instance
© Mentor Graphics Corp. Company Confidential
52
Case #2 — Highlight Correct Net
© Mentor Graphics Corp. Company Confidential
53
Case #2 — Highlight Devices
© Mentor Graphics Corp. Company Confidential
54
Case #2 — Identify Fix
© Mentor Graphics Corp. Company Confidential
55
Case #2 — Fix the Layout
© Mentor Graphics Corp. Company Confidential
56
Case #2 — Re-Run Job
© Mentor Graphics Corp. Company Confidential
57
Case #2 — Conclusion
Case #2 - Combined Short and
Open
The Problem
An incorrect metal connection
has shorted two nets and also
2 Conn.
created an open circuit.
Lesson Learned
Error analysis and the
schematic viewer can be used
to quickly identify incorrectly-
connected pins.
Return to Case List
© Mentor Graphics Corp. Company Confidential
58
Case #3 — Seed Promotion With Bad Devices
Case #3 - Seed Promotion With
Bad Devices
The Problem
Even though LVS PUSH
DEVICES YES is specified, a
4 Device
promoted device is not pushed
back into its parent cell.
Return to Case List
© Mentor Graphics Corp. Company Confidential
59
Case #3 — Seed Promotion With Bad Devices (Cont.)
© Mentor Graphics Corp. Company Confidential
60
Case #3 — Run Extraction Job
© Mentor Graphics Corp. Company Confidential
61
Case #3 — Examine Netlist
© Mentor Graphics Corp. Company Confidential
62
Case #3 — Examine Transcript
© Mentor Graphics Corp. Company Confidential
63
Case #3 — Examine Rule File
© Mentor Graphics Corp. Company Confidential
64
Case #3 — Examine Extraction Report
© Mentor Graphics Corp. Company Confidential
65
Case #3 — Examine the Layout
© Mentor Graphics Corp. Company Confidential
66
Case #3 — Fix the Layout
© Mentor Graphics Corp. Company Confidential
67
Case #3 — Re-Run Extraction
© Mentor Graphics Corp. Company Confidential
68
Case #3 — Examine Netlist
© Mentor Graphics Corp. Company Confidential
69
Case #3 — Conclusion
Case #4 - Seed Promotion With
Bad Devices
The Problem
Even though LVS PUSH
DEVICES YES is specified, a
4 Device
promoted device is not pushed
back into its parent cell.
Lesson Learned
A device recognition error
involving one placement of a
cell will prevent pushdown of
the device into that cell.
Return to Case List
© Mentor Graphics Corp. Company Confidential
70
Calibre应用技巧系列讲座第六期
如何使用calibre PERC进行芯片可靠性相关检查
时间:6月16日下午16:30 -17:30
主讲人:吴文鑫
扫码报名
© Mentor Graphics Corp. Company Confidential
71
感谢您参与本次研讨会!
结束后欢迎填写微信问卷,您的想法对我们很重要!
还有机会赢取精美礼品哦~
扫码填问卷
© Mentor Graphics Corp. Company Confidential
72
© Mentor Graphics Corp.
www.mentor.com
Company Confidential
73