Physical Verirification Using Mentor Graphics
Physical Verirification Using Mentor Graphics
Using Calibre
Student Workbook
MODULE 1: INTRODUCTION
Exercise 1: Invoke DESIGNREV
In this exercise you will invoke DESIGNrev from the command line,
load the palette, and load a GDSII design.
1. From a UNIX shell, change your directory to lab1.
cd <calibre_directory>/calbr/lab1
2. List the contents of the lab1 directory.
ls
You should see the following files:
golden_rules
lab1.gds
lab1_rules
lab1_runset.txt
layer_props.txt
If any of these files are missing, please double check that you are in
the correct directory, and then notify your instructor.
3. Launch DESIGNrev.
$MGC_HOME/bin/calibredrv
This will open the initial DESIGNrev window.
Now you will load the GSDII file.
4. Choose Menu: File > Open GDSII.
5. Select lab1.gds, by double-clicking.
This loads the layout design you will be using for the first parts of this
lab. Next you the load the layer properties file.
This file gives the various layers names (rather than just numbers)
and gives the layers their expected colors.
6. Load the layer properties.
(Menu: Layer > Load Layer Properties)
This opens the Load Layer Properties dialog box.
7. Select the layer_props.txt file.
7. Select the various Tabs and Menu buttons to review the types of options
available.
You will be told exactly were to look in the future, but this is just to
familiarize yourself with the basic layout of the tool.
8. Close the Calibre Interactive - LVS window (Menu: File > Exit).
The Calibre Interactive - DRC window and Choose Runset File dialog box
should now be displayed.
9. Choose New Runset.
10. Choose Menu: File > Open Runset.
11. Enter lab1_runset.txt in the Runset File Path text box.
The text should be green, indicating valid (existing) file.
12. Choose OK to execute the dialog box.
This will make the Calibre Interactive - DRC window active and load all
pre-set information into the dialog box. Inputs should be the active Menu
Button.
You now have all the information loaded that is required for performing a
DRC run.
13. Choose Outputs.
This displays what information you want Calibre to output from this run
and what format you expect. Notice that RVE will start and the DRC report
will automatically display at the end of a DRC run.
14. Choose Transcript.
This window will display the transcript while Calibre DRC runs.
15. Choose Run DRC.
You may be asked to overwrite the lab1.gds file, choose OK to continue the
DRC run.
When the run completes, the Transcript window will look similar to below:
Notice the top complete of lines. They tell you that the DRC run completed
and the number of discrepancies found.
16. Spend a second scrolling through the transcript, taking note of the type
of information available.
17. Make the DRC Summary window active by selecting it.
This window displays the results of the DRC check in text format. In later
modules, you will cover how to read the report, for now you may what to
This window has pulldown Menus that are similar to any application.
It also has a Toolbar for the commands used most frequently. The icons
from left to right are:
oOpen Database
oErase Highlights
oHighlight Previous Discrepancy
oHighlight Current Discrepancy
oHighlight Next Discrepancy
oSet Highlight Zoom.
The Results Viewing Area contains a tree structure of the DRC results.
To the right of the Results Viewing Area is Error Data Area. This area
provides the layout coordinates for the discrepancies. (Useful to manually
track the location in the layout.)
Below the Results Viewing Area is the Checktext Window. This area
display the information provided from the Rule File about the current
discrepancy.
2. Click on the + in the Cell lab1 - I Error in the Results viewing area.
This expands the errors tree to tell you which rule has the discrepancy.
What is the name of the rule with the discrepancy?
5. Try the Tool Tip for the [ ...] button at the end of the Files field.
What is the Tool Tip?
____________________________________________________
You can leave the Tool Tips on or turn them off for the rest of the labs.
Now you will learn how to display the Help information in Manual format.
6. Choose Menu: Help > Open Bookcase.
This launches Adobe Acrobat and automatically loads the Calibre
Verification Bookcase.
From this document you can find information on all the Calibre
applications. The top five items in the list are direct links to manuals
documenting the Calibre features we will use in this class. Just click on the
manuals name and the document will open in an Acrobat window.
e.Unselect everything.
18. Notching out an existing shape:
a. Select the polygon.
b. Choose the Notch icon from the Toolbar Menu.
c. Hold down the mouse button and draw a rectangle from LEFT TO
RIGHT.
MODULE 2: DRC
Introduction
Several of the procedural steps in this lab contain more simplified
instructions because you have performed similar steps in the first lab. New
procedures will be fully explained.
In this lab, you will you will again run a flat Calibre DRC verification of a
layout.
This time, Calibre DRC will find several results (errors). When the
verification completes, you will view the results by reading the ASCII DRC
Summary Report file and using Calibre RVE to highlight the error in a
layout tool.
After you find all the errors in the layout, you will correct at least one of the
errors, write a new GDSII file, run Calibre DRC on the new GDSII file, and
again check the results with Calibre RVE.
By doing this lab, you perform an entire iteration of checking a layout,
making corrections, and verifying the corrections.
16. Make sure the text turns green, indicating this is an acceptable file.
17. Choose Load to load the Rules file.
18. Enter (or leave) . in the Calibre DRC Run Directory.
(Remove the quotes.)
This will place all the resulting files in the current directory,
$HOME/using_calbr/lab3.
19. Choose the Outputs Menu Button.
This displays the dialog box where you will set the names of the output
files.
20. Enter lab3.db as the DRC Results Database filename.
21. Select ASCII as its format.
22. Select Start RVE after DRC Finishes.
23. Select Write DRC Summary Report File.
24. Enter drc_report as the DCR Summary Report filename.
25. Select Replace File.
26. Select View summary report after DRC finishes.
In summary, you are creating files, lab3.db (the DRC Results Database) and
drc_report (the DRC Summary Report). You want RVE the start as soon as
the DRC run completes. You also want the DRC Summary Report to appear
in a text editor when DRC completes.
27. Choose the Transcript Menu Button.
This displays the Transcript during the DRC run. From here you can
quickly note any problems that may occur during the run.
28. Choose Run DRC to start the run.
You may get a message asking to overwrite the lab3.gds file, choose OK to
continue the run.
When the run completes: RVE launches, the DRC Summary Report
displays and the Transcript Window should look similar to below.
Notice that you can get increasing more details as you step through the
various output files available.
3. Close the DRC Summary Report Window.
4. Make the RVE window active.
5. Display the full results by clicking on the + until fully expanded.
Next you will find out a little more information about one of the
discrepancies.
12. Click on the rulecheck min_poly_width -1 Error.
This displays additional information about the rule, itself.
13. Read the contents of the Checktext window.
Q: What is the rule specification?
___________________________________________________
the error.
18. Note the exact location of the error.
(The highlight will not display when you go into the cell.)
19. Choose a1720 from the list of cells in the left window.
This opens down into cell a1720.
You can use the Back arrow in the Toolbar to view the highlight, if you
cannot remember its location.
The Checktext window in Calibre RVE states that this violates the rule
where minimum poly width is 1.25. To correct the error, you would widen
the poly that was highlighted to match the adjacent pieces of poly.
You will fix this error in the next exercise.
Next you will look at another error.
20. Return to the Calibre RVE window.
21. Choose the button
23. Choose Menu: View > Zoom Out at least twice to display another poly
run.
2. In the layout viewer, set the view to only display the contents of the top
cell.
a. Choose Menu: View > Viewer Depth.
This opens the Set Viewer Depth dialog box.
b. Enter 0. (This corresponds to the top cell).
c. Choose OK to execute the dialog box.
You should now be able to see the highlights and just the contents of
the top cell.
3. Zoom and pan as needed to display the a1720 cell.
4. Select the a1720 cell.
Note the location of the two highlights. When you begin editing the cell
these highlights will no longer be visible.
5. Choose a1720 from the Cell window.
This opens down into the cell in a separate area.
Can you find the two pieces of poly that need to be fixed?
We will start with error 3, the poly in the lower left.
6. Zoom in to display a close up around this poly.
You know you need to extend the poly 1.25 into the oxide layer. You will
need something to act as a reference so you will know when you have
extended the poly the correct distance.
7. Choose Ruler from the Toolbar.
8. Click on the top edge of the oxide layer.
MODULE 3: LVS
Exercise: Basic LVS Run
In this exercise you will manually load all of the information required for a
Calibre LVS run. You will then run LVS and scan through all the various
reports and generated files.
1. Change you directory to lab7.
cd<calibre_directory>/lab7
Q: Do all these files have to exist before the Calibre LVS run?
_________________________________________________
Q: What do you expect Calibre LVS to do before the actual LVS
comparison?
___________________
Q: What if you select Netlist to Netlist, what layout information
would Calibre LVS need?
________________________________________
________________________________________
Q: Do all these files have to exist before the Calibre LVS run?
________________________________________________
Q: Where would the layout netlist come from in this case?
________________________________________________
Q: What benefits exist for using this two-step process?
________________________________________________
Now that you have thought about the various options for the layout, you are
ready to enter more data.
14. Choose the Netlist tab.
15. Enter lab7a_source.spi as the Netlist File.
16. Make sure Import netlist from schematic viewer is unselected.
Q: What are the total number of instances in both the source and
layout inside cell lab7a?
_____________
42. Arrange the two netlist windows so you can see both at the same time.
43. In both windows, expand the Network and subcircuits to display lab7a,
by clicking on the +.
The windows should look similar to below.
Q: What happened?
______________________________________
Q: What did you learn about net and instance names?
They do not need match to match _________________________
46. (Optional) Try matching one of the instances by hand.
47. Make the DESIGNrev window active.
Q: What do you see?
___________________
You can highlight instances and nets in the layout by selecting them in the
schematics.
48. Experiment with cross referencing between the netlists and layout until
you are comfortable with the mechanics of the operation.
49. Using the LVS RVE window, erase all highlights.
50. Close the LVS RVE window and all netlist windows.
51. When you are ready go to the next exercise.
9. Run LVS.
Q: What are your results?
(Check the LVS Report.)
_______________________
Q: What types of errors and warnings do you have?
__________________________
__________________________
10. Look at LVS RVE.
11. Open the Source and Layout Netlists.
12. Look at the first subcircuit in both netlists.
Q: What is the name of the first subcircuit?
Layout: a9500 ________________________________________
Source: s9500 ________________________________________
13. Look at the rest of the subcircuits in the Source and Layout.
All the Source subcircuits begin with an s while the layout subcircuit
begins with an a. Calibre cannot build the hierarchy without perfect
matches. You can create a matching list for Calibre.
Q: What is this list called?
HCell list or HCell file _________________________________
Q: What format does this file use?
layout_name source_name _____________________________
You should now have the Calibre Interactive - PEX window open to
Inputs with the default information loaded.
8. Select Netlist.
9. Browse & select the netlist file, <xrc>/design/simple.src.net
10. Make sure that the Netlist Format is SPICE & Primary Cell is simple
11. Click on RULES menu button, which is present in the Left side of the
screen.
12. Browse and select design.rules present in <xrc> directory.
13. Click on OUTPUTS menu button present in the left side of the screen.
14. Make sure the Extraction Type is Transistor Level C.
15. In the NETLIST Window, select Format : ELDO and
Use Names from: Schematic
16. Rename the output file name as simple_lumped_c.spi
17. Click on REPORTS window & enable generation of LVS & PEX
Reports.
18. Click on RUN PEX menu button present in the left side of the screen.
19. After the run is completed, you will see the netlist with parasitic
elements included.
20. This completes the lab.
The generation of netlist with Distributed RCC is similar to the above.
The only change is step no. 14.
Make sure the Extraction Type is Transistor Level, RCC.