Post-Layout Simulation with ADiT and EZWave


1. Extract the Spice representation of your inverter
 
In this lab, you will use ICStation/Calibre to extract a Spice representation of the inverter you drew in the previous tutorial. Then you will use the ADiT simulator to simulate the Spice representation.
1.1  Move into the directory you created for lab2. Then start ICStation:
>> cd egre533/lab2
>> adk_ic &
1.2  In ICStation, use the Cell Open item in the Session palette to open the my_inv cell you previously created. From the top menu bar select Calibre->Run PEX to start a Parasitic EXtraction.  Calibre PEX is a separate program which will extract information about the connectivity and associated capacitances and resistances in your layout.  You will need to fill in a few screens to properly initialize Calibre PEX.  The Calibre PEX setup information will be saved, however, so you only need to enter it once.  The Calibre PEX extraction tool reads in your layout from a GDS-II (Graphic Design System II) file and creates a Spice netlist file suitable for simulation.

1.3  The first screen displayed by Calibre PEX is the Inputs screen, as shown.  Don't make any changes.  The Layout tab specifies the input file (my_inv.calibre.gds), the file format and primary cell.  Notice the Export from layout viewer button is checked.  This instructs Caliber PEX to use the layout viewer to create a new copy of the GDS file before extraction.  If you uncheck this box then you must use the IC Station Translate menu item to create a GDS file for Calibre PEX.  The Netlist tab specifies a source netlist, meaningless for this exercise but useful for other layout extractions.  The H-Cells tab specifies a Hierarchical Cell source file, again meaningless for this exercise.


 

1.4  Left click once on the Rules button.  You must specify where to find the process rules and layer definitions for Calibre PEX.  Left click once on the ellipsis (three dots) to navigate to the appropriate rules file.  Navigate to the /mentor/adk3_0/technology/ic/process directory and choose the file "ami05.calibre.rules" as shown:

1.5  Left click once on the Outputs button to setup the output files.  Make sure the Extraction Type is Transistor Level and C.  This instructs Calibre PEX to extract only lumped capacitances at the transistor (or mask) level.  Leave the filename as it is (my_inv.pex.netlist).  In the Netlist tab, make sure the Format is HSPICE and change the Use Names From: to LAYOUT.  Leave the View netlist after PEX finishes button selected.  Do not change anything under the Reports or SVDB tabs - these are unimportant for this exercise.  Your Outputs setup should look like:

1.6  Select Setup->PEX Options from the top menu bar.  Make sure the button beside Ground node name is selected and type in GND for the name of the ground node.  The Netlist tab dialogue box should look like:

1.7  Now select the LVS Options tab.  Enter the names for the Power nets: and Ground nets: and make sure Recognize gates: is set to All.  The LVS Options dialogue box should look like:

1.8  Now setup is complete.  Left click once on the Run PEX button to start the extraction.  As each stage completes, information will scroll through the transcript window.  If your extraction is successful a new window will open displaying the spice netlist created by Calibre PEX.  If you do not get a netlist (this make take a minute or so) then review the transcript window to locate problems and fix them.  Your netlist should look similar to:

1.9  Close the netlist window.  Close Calibre PEX and enter runset for the file name when asked to save your runset.  Exit ICStation.

2.  "Fix" the Spice file so that it can be simulated with ADiT
  2. Simulate the my_inv Spice description with ADiT