DOC PREVIEW
MSU ECE 410 - Cadence Tutorial C: Simulating DC and Timing Characteristics

This preview shows page 1-2-3 out of 10 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 10 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Cadence Tutorial C: Simulating DC and Timing Characteristics 1 Cadence Tutorial C: Simulating DC and Timing Characteristics Created for the MSU VLSI program by Professor A. Mason and the AMSaC lab group Last updated by Waqar A Qureshi FS08 (convert to spectre simulator) Document Contents Introduction Layout Extraction with Parasitic Capacitances Timing Analysis DC Analysis Introduction This document is the third of a three-part tutorial for using CADENCE Custom IC Design Tools for a typical bottom-up circuit design flow with the AMI/C5N process technology and NCSU design kit. Tutorial A and B cover the use of the Virtuoso schematic entry tool, Virtuoso analog simulation tool and Virtuoso layout tool. This tutorial covers the timing analysis on the schematic and extracted view. It is assumed you have followed Tutorials A and B and have the schematic and layout views of a CMOS inverter. Layout Extraction with Parasitic Capacitances • Launch Cadence and open the layout view for the inverter cell. • In the Command Interpreter Window (CIW), set the capacitance-ignore-threshold by entering NCSU_parasiticCapIgnoreThreshold=1e-18 in the prompt at the bottom of the CIW and pressing Enter. Although this was not needed for functional simulations, it will make timing analysis more accurate. • In the Virtuoso Layout Editing window select Verify => Extract. A new window (below) with extraction options will appear. • Click on Set Switches and select Extract_parasitic_caps. Click on OK to extract parasitic elements from the layout with the new parasitic capacitance threshold. • After extraction, check the CIW to make sure there are no errors. • Load the extracted cellview from the Library Manager window. This will open up a layout should look similar to the one below. Press shift+f to see all the device parameters. Extract Window Extracted Layout ViewCadence Tutorial C: Simulating DC and Timing Characteristics 2 Timing Analysis STEP 1. Start Analog Environment(ADE L) • With the extracted view open, in the Virtuoso Layout Editing window select Launch=> Analog Design Environment(ADE L) to open the Virtuoso Analog Circuit Design Environment window. o You can also launch this tool from the CIW by selecting Tools => Analog Environment => Simulation in the CIW. When the Virtuoso Analog Circuit Design Environment opens you have click on the Setup => Design to specify the library and cell, for example “tutorial” and "inv". STEP 2. Setup Analog Simulator • In VirtuosoAnalog Design Environment, click on Setup => Simulator/Directory/Host. • Choose spectre as the Simulator. • Enter a path for your simulations files and results. You may set this to any valid path, but you might find it useful to keep all simulations in one directory. If you don’t specify the whole path, the simulation files and results will be created under the directory you launched cadence. The following example saves the simulation file and results at /egr/courses/personal/ece410/<username>/simulation assuming you launched Cadence from your root 410 class directory If you need to run multiple simulations on the same cell, you can even use different paths for each simulation.Cadence Tutorial C: Simulating DC and Timing Characteristics 3 STEP 3. Set up Analog Environment to use Extracted View • In Virtuoso Analog Design Environment, click on Setup => Environment. The Environment Options dialog box (below) will pop up. • In the Environment Options window, under the line Switch View List. type the word “extracted” before the word “schematic” (see below). Then click on OK. This entry is an ordered list of cell views which contain information that can be simulated. The simulator (in fact the netlister) will search until it finds one of these cellviews. The default entry does not contain an extracted cellview. As a result of this modification, the simulator will use the extracted cellview instead of the schematic cellview to include the effect of parasitic capacitance in the simulation. • Make sure to check the Y for Use SPICE Netlist Reader(spp), since the default transistor model files are written in SPICE syntax. STEP 4. Set up stimulus file • Create a new stimulus file by opening any text editor. Make sure to give the file a name either when you create it or when you save it, depending on your text editor (“stimulus.txt”, for example). • Enter the following text, save the file and exit the text editor. (Note: each circle bulleted item below represents one full line in the stimulus file; be careful if you cut and paste this text. You also need to be sure to hit Enter after the last line to insert a line return in the text file.) o simulator lang=spectre o global gnd! o Vdd (vdd! 0) vsource dc=3 o Gnd (gnd! 0) vsource dc=0 o v1 (A 0) vsource type=pulse val0=0 val1=3 rise=0.05n fall=0.05n width=10n period=20n o c0 (0 Y) capacitor c=3f This assumes your input and output node are called ‘A’ and ‘Y’ and attaches a load capacitance to the output that simulates the input capacitance of gates attached to the outputCadence Tutorial C: Simulating DC and Timing Characteristics 4 node. For additional information about stimulus files, including notes on creating files with multiple inputs, see the Guide to Writing Stimulus Files. • In the Virtuoso Analog Design Environment, include this new stimulus file by clicking Setup => Simulation Files and adding the name of the file in the “Stimulus File” box. STEP 5. Setup Model Files: • In Virtuoso Analog Design Environment, click on Setup => Model Libraries… • If you have correctly set up your ECE410 Cadence environment, two Model Library Files should already appear, “ami06N.m” and “ami06P.m”. If so, you may exit this dialog by pressing OK. • You can add the necessary Model Library Files by o Click the bottom “Model Library File” box o Type “/opt/soft/ncsu-cdk-1.6.0.beta/models/spectre/nom/ami06N.m” o Click the “Add” button. This should add the model to the Model Library File list and clear the Model Library File box o Repeat the process or “/opt/soft/ncsu-cdk-1.6.0.beta/models/spectre/nom/ami06P.m” o Your Model Library Setup dialog box should look like the one below. Once it does, you can click “OK” to close the dialog. STEP 6. Setup Analysis • In Virtuoso Analog Design Environment window, select Analyses => Choose. • In


View Full Document

MSU ECE 410 - Cadence Tutorial C: Simulating DC and Timing Characteristics

Documents in this Course
hw4-s08

hw4-s08

2 pages

Exam 1

Exam 1

5 pages

lab3

lab3

2 pages

lab4

lab4

4 pages

Lab 5

Lab 5

4 pages

Ch12

Ch12

34 pages

lab5

lab5

4 pages

lab2

lab2

2 pages

lab7

lab7

3 pages

Ch11

Ch11

43 pages

Lab 6

Lab 6

4 pages

lab2

lab2

3 pages

Ch7

Ch7

32 pages

lab7

lab7

2 pages

Lab 4

Lab 4

3 pages

lab1

lab1

3 pages

Ch3-5

Ch3-5

69 pages

Load more
Download Cadence Tutorial C: Simulating DC and Timing Characteristics
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Cadence Tutorial C: Simulating DC and Timing Characteristics and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Cadence Tutorial C: Simulating DC and Timing Characteristics 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?