Difference between revisions of "Running LVS"

From Vlsiwiki
Jump to: navigation, search
Line 13: Line 13:
 
In the Input section, make sure you are comparing layout and netlist. It should be hierarchical.  
 
In the Input section, make sure you are comparing layout and netlist. It should be hierarchical.  
  
Under the "Layout" tab, make sure the correct layout is selected and "Export from layout viewer" is selected.
+
Under the "Layout" tab, make sure the correct layout is selected and "Export from layout viewer" is selected. Under the "Netlist" tab make sure the correct top cell is selected and select "Export from schematic viewer".
 
[[Image:1-layout.jpg|center|200px]]
 
[[Image:1-layout.jpg|center|200px]]
  
Under the "Netlist" tab make sure the correct top cell is selected and select "Export from schematic viewer".
 
[[Image:2-netlist.jpg|center|200px]]
 
  
 
To turn on the advanced options, select Setup->LVS Options. This will add another option on the left called "LVS Options." Click it. In LVS Options, under the Supply tab, select "Ignore Layout and Source Pins during comparison". For some reason, our layout extractor is not extracting pin names at all. It will, however, make sure all the nets and transistors match correctly.
 
To turn on the advanced options, select Setup->LVS Options. This will add another option on the left called "LVS Options." Click it. In LVS Options, under the Supply tab, select "Ignore Layout and Source Pins during comparison". For some reason, our layout extractor is not extracting pin names at all. It will, however, make sure all the nets and transistors match correctly.

Revision as of 23:07, 23 September 2009

To run LVS, you must have a schematic and a DRC clean layout.

LVS Options

To run LVS, first select Calibre->Setup->Layout Export. In the new window add the path to the layer map file:

/mada/software/techfiles/FreePDK45/ncsu_basekit/techfile/calibre/streamOut.map

Then press OK and select Calibre->Run LVS. Like the DRC setup, select the LVS rules file:

/mada/software/techfiles/FreePDK45/ncsu_basekit/techfiles/calibre/calibreLVS.rul

In the Input section, make sure you are comparing layout and netlist. It should be hierarchical.

Under the "Layout" tab, make sure the correct layout is selected and "Export from layout viewer" is selected. Under the "Netlist" tab make sure the correct top cell is selected and select "Export from schematic viewer".

1-layout.jpg


To turn on the advanced options, select Setup->LVS Options. This will add another option on the left called "LVS Options." Click it. In LVS Options, under the Supply tab, select "Ignore Layout and Source Pins during comparison". For some reason, our layout extractor is not extracting pin names at all. It will, however, make sure all the nets and transistors match correctly.

3-options.jpg

Running LVS

Click "Run LVS" to launch the job. It may warn you about overwriting files and such. That's ok. If things go well, you should match! You will see this:

                        #       ###################       _   _   
                       #        #                 #       *   *   
                  #   #         #     CORRECT     #         |     
                   # #          #                 #       \___/  
                    #           ###################               


Debugging errors

There is a separate wiki page, Debugging LVS, on suggestions for debugging errors. This is a very difficult problem sometimes, but it is usually a simple swap of nets or pins.