Guide To Passing LVS (Layout vs. Schematic)
Guide To Passing LVS (Layout vs. Schematic)
Schematic)
A Cadence Help Document
Document Contents
Introduction
Golden Rules
Understanding the LVS Output File
Example LVS Output File
Solutions to Common LVS Problems
Tools and Techniques for Passing LVS
• This is a very important indicator of problems. If the netlists match, as they do above,
you will notice that the numbers for the Nets, Terminals, NMOS, and PMOS all match.
A quick description of these:
o NETS – These are the wires or connections in a device. In your inverter the
output which connects the drain of you PMOS to the drain of your NMOS is
considered an NET.
o Terminals – These are the pins in your design. These Numbers must always
match completely.
o NMOS – The number of NMOS transistors in your design
o PMOS – The number of PMOS transistors in your design
2. Terminal correspondence points.
• A list of the terminals that match in your Layout and your schematic. ALL Pins
including vdd! and gnd! must show up. If all pins are not showing, your LVS probably
will not show a match.
3. Netlist Summary
• Provides a basic comparison summary of the netlists for your layout and schematic.
4. Probe file output for your schematic.
• Provides information about your schematic if there is not a match. If the netlists do
match, the file will look like the example given above.
5. Probe file output for your layout.
• Provides information about your layout if there is not a match. If the netlists do match,
the file will look like the example given above.
nets prunedev.out:
un-matched 0 0
merged 0 0 audit.out:
pruned 0 0
active 24 24 5.
total 24 24
Probe files from
terminals /egr/classes/ece410/dotsonna/caden
un-matched 0 0 ce/LVS/layout
matched but
different type 0 0 devbad.out:
total 7 7
netbad.out:
4. mergenet.out:
Probe files from
/egr/classes/ece410/dotsonna/caden termbad.out:
ce/LVS/schematic
prunenet.out:
devbad.out:
prunedev.out:
netbad.out:
audit.out:
mergenet.out:
1. Once the LVS comparison fails, click OK on the window that pops up.
4. Next a “Display Run Information” window will pop up. In this window, click the LogFile
button.
5. A LogFile will then pop up. This file contains some information about the LVS run and why
it failed. The reason for failure is listed towards the bottom of the file. Many times, a
schematic or a layout was not saved or needs to be in order for the comparison to complete.
1. If the number of nets given for your layout is higher than that for your schematic, then there
are some connections between points in your layout that need to be made. Fixing this can
sometimes be very difficult. The “Layout Probe File Output” section in your output file
usually contains some useful information on this.
• The first scenario for this situation is that your probe file output will say something like “?
Net /net 027 merged with /R.” These problems are usually very easy to fix. What the
above line means is that net 027, which is some internal connection in the circuit, needs to
be connected to terminal R. This can be confusing because you might assume merged
means they are already connected, but in the Cadence LVS output file this means they need
to be connected.
• The second scenario for this situation is that your probe file output will say something like
“terminal gnd! in layout fails to match any terminal in the schematic” These problems
are usually not so easy to fix, if more than one terminal is not matching. In the given case,
a transistor that should be connected to gnd! probably is not connected, so you would need
to inspect your layout and find where a connection needs to be made. If you have multiple
terminals that are not matching, inspect each terminal listed very carefully to ensure that all
connections are made to the appropriate points in your layout. This is never an easy task
and can be quite time consuming, so use patience and try and locate your mistake.
2. If the number of nets given for your layout is lower than that for your schematic, then there
are some connections between points in your layout that are made and should not be. Fixing
this can again be very difficult. The “Schematic Probe File Output” and “Layout Probe File
Output” sections in your output file usually contain some useful information on this.
• The first scenario for this situation is that your Schematic probe file output will say
something like “? Net /net 027 merged with /R.” As above, these problems are usually
very easy to fix. What the above line means is that net 027, which is some internal
connection in the circuit, needs to be connected to terminal R in your schematic view.
However, remember that we are assuming that you have a correct functioning
schematic, so the issue is still with the layout. You need to go into your layout and find
the connection that you made between these points and then delete it.
1. To see this option, click LVS Error Display button in the LVS window.
2. This is a tip that will help you to see the errors on your extracted view. Change the Error
color to be highlighted, by clicking on that button, to white. This will make it much
easier to see the errors on your extracted view. The default color is pink and that is
sometimes hard to see.
3. After you have set this up, click the next button and your errors will be listed in the Error
display window and highlighted on your extracted window at the same time.
Shorts Locator
Many times the Output file will let you know that either connections are made that should not be
or connections should be made. Most of the time some net name is given and you have no idea
what that net is or how to find it, so this tool can be quite helpful.
1. Open the Extracted view for the cell on which you are running LVS.
2. In the extracted view window, click verify on the menu bar and then click on Shorts in
this menu.
3. The Shorts Locator window will then pop up. If it does not pop up immediately, click
OK on any small pop-ups until it does appear.
4. In the shorts locator window, type in the number of the net you wish to find and click the
run button. On your extracted view, the net will be highlighted in orange so you will be
able to see it pretty easily. If you wish to find a different net when you are finished
looking at the first, click the finish button in the shorts locator window and then just type
in the number of the next net you wish to find and click the run button.