Presentation is loading. Please wait.

Presentation is loading. Please wait.

Spring 2002EECS150 - Lec03-Timing Page 1 EECS150 - Digital Design Lecture 3 - Timing January 29, 2002 John Wawrzynek.

Similar presentations


Presentation on theme: "Spring 2002EECS150 - Lec03-Timing Page 1 EECS150 - Digital Design Lecture 3 - Timing January 29, 2002 John Wawrzynek."— Presentation transcript:

1 Spring 2002EECS150 - Lec03-Timing Page 1 EECS150 - Digital Design Lecture 3 - Timing January 29, 2002 John Wawrzynek

2 Spring 2002EECS150 - Lec03-Timing Page 2 Outline General Model of Synchronous Systems –Performance Limits Announcements Delay in logic gates Delay in wires Delay in flip-flops

3 Spring 2002EECS150 - Lec03-Timing Page 3 General Model of Synchronous Circuit All wires, except clock, may be multiple bits wide. Registers (reg) –collections of flip-flops clock –distributed to all flip-flops –typical rate? Combinational Logic Blocks (CL) –no internal state –output only a function of inputs Particular inputs/outputs are optional Optional Feedback

4 Spring 2002EECS150 - Lec03-Timing Page 4 Example Circuit Parallel to Serial Converter All signal paths single bit wide Registers are single flip-flops Combinational Logic blocks are simple multiplexors No feedback.

5 Spring 2002EECS150 - Lec03-Timing Page 5 General Model of Synchronous Circuit How do we measure performance? –operations/sec? –cycles/sec? What limits the clock rate? What happens as we increase the clock rate?

6 Spring 2002EECS150 - Lec03-Timing Page 6 Limitations on Clock Rate Logic Gate Delay What are typical delay values? Delays in flip-flops Both times contribute to limiting the clock period. What must happen in one clock cycle for correct operation? Assuming perfect clock distribution (all flip-flops see the clock at the same time): –All signals must be ready and “setup” before rising edge of clock.

7 Spring 2002EECS150 - Lec03-Timing Page 7 Example Parallel to serial converter: T > time(clk->Q) + time(mux) + time(setup) a b

8 Spring 2002EECS150 - Lec03-Timing Page 8 Announcements Lectures now being web-cast and recorded online. URL: Look at notes online before class. –Suggestion: print out bring copy to class and annotate when necessary. My notes are intentionally incomplete. Homework #1 online. Turn in before 12 noon Friday. Discussions, TA office hours, and labs this week. Quiz Friday at lab lecture.

9 Spring 2002EECS150 - Lec03-Timing Page 9 Qualitative Analysis of Logic Delay Improved Transistor Model: nFET We refer to transistor "strength" as the amount of current that flows for a given Vds and Vgs. The strength is linearly proportional to the ratio of W/L. pFET

10 Spring 2002EECS150 - Lec03-Timing Page 10 Gate Switching Behavior Inverter: NAND gate:

11 Spring 2002EECS150 - Lec03-Timing Page 11 Gate Delay Cascaded gates:

12 Spring 2002EECS150 - Lec03-Timing Page 12 Gate Delay Fan-out: “Fan-in” What is the delay in this circuit? Critical Delay

13 Spring 2002EECS150 - Lec03-Timing Page 13 Wire Delay In general wire behave as “transmission lines”: –signal wave-front moves close to the speed of light ~1ft/ns –In ICs most wires are short, therefore the transit times are relatively short compared to the clock period and can be ignored. –Not so on PC boards.

14 Spring 2002EECS150 - Lec03-Timing Page 14 Wire Delay Even in those cases where the transmission line effect is negligible: –Wires posses distributed resistance and capacitance –Time constant associated with distributed RC is proportional to the square of the length –For short wires on ICs, resistance is insignificant (relative to effective R of transistors), but C is important. –Typically around half of C of gate load is in the wires. For long wires on ICs: –busses, clock lines, global control signal, etc. –distributed RC (and therefore long delay) significant –signals are “rebuffered” to reduce delay:

15 Spring 2002EECS150 - Lec03-Timing Page 15 Delay in Flip-flops Setup time results delay through first latch. Clock to Q delay results from delay through second latch.


Download ppt "Spring 2002EECS150 - Lec03-Timing Page 1 EECS150 - Digital Design Lecture 3 - Timing January 29, 2002 John Wawrzynek."

Similar presentations


Ads by Google