DOC PREVIEW
MSU ECE 410 - Lab 4: Timing Analysis of Logic Gates

This preview shows page 1-2 out of 6 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 6 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 6 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 6 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Lab 4: Timing Analysis of Logic Gates Due: Friday February 26th, 2009 Summary: Lab 4 introduces post-layout simulation using extracted parameters from the cell layout andallows students to observe the timing and DC characteristics of some simple CMOS gates. Learning Objectives: 1. Learn how to perform post-layout simulations for timing analysis of CMOS logic gates. 2. Observe the effects of parasitic capacitances on timing characteristics. 3. Learn how to determine the critical path of combinational circuits. Resources: Tutorial C, Guides to Writing Stimulus Files and Automating PWL Source Generation Notes: 1 • For all timing analysis in this lab, use an input voltage pulse rise and fall time of 50ps (rise=0.05n fall=0.05n). This is important in order to obtain consistent results. 2 • Keep a record of all timing measurements obtained for the NAND, NOR, and inverter. You will need them for your report and to complete Lab 6. Procedure: 1. Complete Tutorial C to measure the timing and DC characteristics of the CMOS inverteryou have previously designed. The parasitic capacitances from the extracted view will beused along with a load capacitance to simulate the effect of gates attached to the output ofthe inverter for timing analysis. Accurately measure (a) the propagation delays (high-to-low and low-to-high), (b) rise and fall times, (c) gate switching threshold (midpointvoltage), and (d) output high and low voltages for the inverter. Print/save a copy of atransient analysis waveform and a DC voltage transfer curve for your report. Include themeasured results within the Discussion Topics of your report. 2. Using Tutorial C as a guide, measure the timing characteristics for the two-input NANDgate you have previously designed. - Note: In Lab 2 you should have passed LVS for the NAND (and NOR) with“Allow FET Series Permutations” turned off. This forces the order of seriestransistors to be the same in both schematic and layout. If you did not do this,you need to or you may get some odd results here. If you are unsure, see the endof Tutorial B for instructions and run LVS again. - Create a NAND stimulus file (or multiple stimulus files if you prefer) usingpiecewise linear (PWL) sources to generate two input signals such that ALLpossible input transitions that cause an output transition are tested, e.g., 11 → 00,10 → 11, etc. Notice there are many possible input transitions that do not causeoutput transitions and therefore do not need to be tested. Be sure to include the3fF load capacitor in your stimulus file. - IMPORTANT: To obtain consistent results for delay measurements, each testedinput transition MUST be preceded by setting the inputs to a common value.Here we will use ‘11’. For instance, if you want to test a 10 → 11 transition, youmust generate the sequence 11 → 10 → 11.- IMPORTANT: For cases where both inputs change, these transitions MUST besetup to occur simultaneously. - Simulate all output transition cases and measure the propagation delays and riseand fall times for the each output transition of the NAND. Record your results ina table similar to the following example. 1 Table 2c. Example of data required for Step 2. - Notice that propagation delays and rise/fall times will vary depending on the inputlogic state transition. Observe your results and determine which input transitionscaused the worst-case (slowest) delay for each timing characteristic. - Save or print a sample output waveform that shows markers set to measure the riseand/or fall time. Save or print a sample output waveform that shows markers set tomeasure the high-to-low and/or low-to-high propagation delay. 3. After simulations of the NAND gate, you should be familiar with writing stimulus filesfor multi-input gates. To reduce some of the complexity of writing stimulus files, see theGuide to Automating PWL Source Generation. This guide describes how to use ascript to simplify generating piecewise linear (PWL) voltage sources in spectre-syntaxbased on specified input vectors. Identify the input transitions that cause outputtransitions in a NOR gate and repeat step 2 simulating the two-input CMOS NOR gateyou have previously designed. Here you must precede each tested transition with theinputs ‘00’, instead of ‘11’; otherwise, you may receive inconsistent timing results. 4. After you have completed the timing analysis for the NAND and NOR gates, make sureyou have the information needed to answer Discussion Topic #2 before continuing. 5. In steps 2 and 3 you were required to set consistent initial values before testing eachtransition. To analyze why this is necessary, write three separate NAND stimulus filesthat test the following input bit patterns: (a) 01 → 00 → 11; (b) 10 → 00 → 11; (c) 11 →00 → 11. You can do these manually or use the automated script. Simulate your NANDgate and measure the high-to-low propagation delay of the 00 → 11 input transition foreach of the three input patterns. Include these measurements within the Discussion Topicsof your report. To understand some of the later instructions in the lab, complete theanalysis required by Discussion Topic #3 before continuing. Note: results may varydepending on your specific layout and which inputs you assign to which transistors. 6. Using Tutorial C as a guide, measure the DC characteristics for the NAND gate. - Create a stimulus file (or multiple files) that test each possible input transitioncausing the output to fall from high to low. Refer to previous steps to see whichinput transitions cause the output to change. For some cases you can set one inputhigh or low with a DC voltage source and do a DC sweep of the second input.For cases where both inputs change value, you can either (a) set both inputs tothe same voltage source; or (b) sweep one of the input voltages and short it to thesecond input through a 0V DC voltage source. - Measure the gate switching threshold for all possible (output falling) transitionsand record their values. Determine which transition has a unique gate switchingthreshold and include the plot of this case in your report. Your figure captionshould identify the logic gate being simulated and input transition shown in theplot. - Consider Discussion Topic #4 before continuing. If you wish to confirm yourprediction, repeat step 6 for the NOR gate. However, this is not a required


View Full Document

MSU ECE 410 - Lab 4: Timing Analysis of Logic Gates

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 Lab 4: Timing Analysis of Logic Gates
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 Lab 4: Timing Analysis of Logic Gates 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 Lab 4: Timing Analysis of Logic Gates 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?