Professional Documents
Culture Documents
1 Objective :
Following lab 1, this lab will provide you with more exposure to Cadence simulation environment. It is a good idea to review Lab 1 on basic Cadence set-up and layout skills, especially on what you did to pass DRC(Design Rule Check) and LVS(Layout Vs. Schematic). Even though you wont need layout in this lab, summarizing what you learned from Lab 1 will be invaluable for future labs and the final project.
2 Circuit :
A common source amplifier with an output buffer and bias network will be entered as a schematic and dc and frequency domain simulation will be performed. This will give you the ability to do almost all of the simulations required to analyze and understand the main performance metrics of a single stage amplifier.
3 Lab Instructions:
3.1 Schematic Generation and Entry:
Enter the schematic shown on the last page of the instructions in your labs design library The components in the schematic will be found in the analogLib and sigehp libraries. The nFET and the pFET transistors for the amplifier and bias circuit as well as the subc substrate contact come from the sigehp library, the rest of the components are in analogLib. Be sure to set ALL of the component parameters correctly. Be sure to select, Add nw and dt to pcell in the pFET properties window when you instance it. Not doing so will lead to errors at the layout stage and although there is no layout for this lab, it is useful to always remember to select this whenever a pFET is instanced. When the schematic entry is complete, click on Check and Save (the check mark box in the top left hand corner). Be sure that your design is error and warning free (or that all warnings are acceptable and understood) before proceeding.
3.2 Simulation:
If your design has no errors or significant warnings, then you may begin simulations to assess the circuits overall performance. From the schematic window select Tools-Analog Environment to launch the analog environment window
Note: You can load state Lab_1_setup from Lab 1 and skip to 3.3.1. Make
sure you check that the following entries are correct:
Select Setup-Simulator/Directory/Host Set Simulator = spectre; Project Directory = ~/Cadence/simulation; Host Mode = local. Select Setup-Model Libraries and enter the following model libraries (They must appear in this order in the window!) /opt/cadence-designkits/AMS/sigehp/V2.6.2.1/models/spectre/design.scs /opt/cadence-designkits/AMS/sigehp/V2.6.2.1/models/spectre/process.scs Select Setup-Temperature and set Temperature=25. Select Setup-Simulation Files Include Path = /opt/cadence-designkits/AMS/sigehp/V2.6.2.1/models/spectre Definition Files = /opt/cadencedesignkits/AMS/sigehp/V2.6.2.1/models/spectre/definitions.scs Select Setup-Environment Set Switch View List = spectre cmos_sch cmos.sch schematic veriloga ahdl Set View List = spectre Select Automatic Output Log
You can save the state before proceeding to facilitate an easy check of the results later.
3.3.4 AC Analysis:
Before starting on this part, on the schematic select the Vsin source. On the parameter window enter, AC Magnitude - 50 mV AC Phase - 0
In the Analog Environment, Select Analyses-Choose Select ac. Enable the analysis and disable all other analyses. Set the following : Sweep Variable - Frequency Sweep Range - 1e6 to 1e9 Sweep Type - Automatic Select Outputs - To be Plotted - Select on Schematic On the schematic window, select the wire between the two stages and the output wire. Select Simulation - Netlist and Run. Print the resulting plot. Using a marker, determine the gains of the output buffer at 1 MHz, 10 MHz, 100 MHz and 500 MHz and bandwidth at each output and include the values in your report.
4 Report:
A short (individual) lab write-up showing your schematic, simulation plots and the required results should be handed in. The report should be brief (perhaps 1-2 pages of writing plus simulation results and schematic attached), but include a summary of the insights you gained from the lab and any suggestions you may have for future labs.
Questions ?
Contact your TA : Venkat Narayanan vn23@cornell.edu