Post Layout Simulation

The parasitic capacitances extracted according to how your layout is designed might be critical in affecting the actual performance of your design.  In order to get an idea of how the design would work from your layout, you should perform a post-layout simulation from the extracted view.  The procedure is identical to that for simulating from the schematic view.

Our main goal here is to obtain the netlist of the layout design from Cadence in the Spectre format so that we can run a Spectre simulation from the LINUX prompt. This method is preferable for ESE570 students and people who like to write and edit the Spectre code themselves. However, for all others you may as well want to use the complete Affirma Analog Environment simulation tools to perform your simulations.

1.  Open up the test schematic for the inverter in edit mode.  Under the Tools menu, choose Analog Environment. A window similar to the one shown below will pop-up.

The steps are very similar to the ones mentioned previously in the Hspice portion of this online Cadence tutorial.  However, the one change that needs to be made is in the Setup menu of the Analog Environment simulation window.  Click on Setup -> Environment… and you will see the Environment Options window open up.  Originally, the Switch View List should contain the following items:

spectre cmos_sch cmos.sch schematic veriloga ahdl

In order for Cadence to simulate through the extracted view of the layout design instead of the schematic view, you will include an additional item (extracted) in the Switch View List such that it now contains the following:

spectre cmos_sch cmos.sch extracted schematic veriloga ahdl

2.  You can now perform the simulation in the same manner as before, either via the Cadence or Spectre methods.  This additional step allows you to take into account all the parasitic capacitances (eg. from interconnects and source/drain areas) that were extracted into the extraction view from your layout design.  You may be able to notice subtle differences in the post-layout simulation results or waveforms as compared to the pre-layout schematic view results.

To be absolutely sure that Cadence is running simulations through the extracted view, you can view the generated Hspice netlist by clicking on Simulation -> Netlist -> Display Final … from the Analog Environment Simulation window.  The generated netlist will open up in another window.  Within the first 20 or so lines, you should be able to search for a single line of code that confirms that the extracted view was indeed taken.  This line of code should look something like the following:

* File name: libraryname_cellname_extracted.s.

previous top  next
previous top next