Clock distributions (v.9a)1 CENG3480_B1 Digital System Clock Reference: Chapter11 of High speed digital design, by Johnson and Graham.

Slides:



Advertisements
Similar presentations
CMOS Logic Circuits.
Advertisements

Topics Electrical properties of static combinational gates:
Transmission Gate Based Circuits
Selected Design Topics. Integrated Circuits Integrated circuit (informally, a chip) is a semiconductor crystal (most often silicon) containing the electronic.
Kit Building Class Lesson 4Page 1 R and X in Series Inductors and capacitors resist the flow of AC. This property is called reactance. Resistance also.
1 COMP541 Flip-Flop Timing Montek Singh Oct 6, 2014.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Lecture 11: Sequential Circuit Design. CMOS VLSI DesignCMOS VLSI Design 4th Ed. 11: Sequential Circuits2 Outline  Sequencing  Sequencing Element Design.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Digital Logic Chapter 5 Presented by Prof Tim Johnson
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Chapter 6 –Selected Design Topics Part 2 – Propagation Delay and Timing Logic and Computer Design Fundamentals.
1 Lecture 28 Timing Analysis. 2 Overview °Circuits do not respond instantaneously to input changes °Predictable delay in transferring inputs to outputs.
Lecture 9: D/A and A/D Converters
Introduction to CMOS VLSI Design Lecture 19: Design for Skew David Harris Harvey Mudd College Spring 2004.
Oscillators with LC Feedback Circuits
Reconfigurable Computing - Clocks John Morris Chung-Ang University The University of Auckland ‘Iolanthe’ at 13 knots on Cockburn Sound, Western Australia.
EE141 © Digital Integrated Circuits 2nd Timing Issues 1 Digital Integrated Circuits A Design Perspective Timing Issues Jan M. Rabaey Anantha Chandrakasan.
Synchronous Digital Design Methodology and Guidelines
Clock Design Adopted from David Harris of Harvey Mudd College.
© H. Heck 2008Section 4.11 Module 4:Metrics & Methodology Topic 1: Synchronous Timing OGI EE564 Howard Heck.
Chapter 11 Timing Issues in Digital Systems Boonchuay Supmonchai Integrated Design Application Research (IDAR) Laboratory August 20, 2004; Revised - July.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
ENGIN112 L28: Timing Analysis November 7, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 28 Timing Analysis.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Lecture 8: Clock Distribution, PLL & DLL
Embedded Systems Hardware:
Embedded Systems Hardware: Storage Elements; Finite State Machines; Sequential Logic.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
CS 151 Digital Systems Design Lecture 28 Timing Analysis.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Practical Aspects of Logic Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
Content Op-amp Application Introduction Inverting Amplifier
Worcester Polytechnic Institute
Oscillators with LC Feedback Circuits. LC Feedback elements are used for the generation of higher frequencies of oscillation. Because of lower unity gain.
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Announcements mid-term Thursday (Oct 27 th ) Project ideas to me by Nov 1 st latest Assignment 4 due tomorrow (or now) Assignment 5 posted, due Friday.
TDS8000 and TDR Considerations to Help Solve Signal Integrity Issues.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
1 ELE5 COMMUNICATIONS SYSTEMS REVISION NOTES. 2 Generalised System.
Astable Multivibrators ©Paul Godin Created February 2007 Modified March 2015 Oscillator Basics Technician Series.
Astable Multivibrators ©Paul Godin Created February 2007 Oscillator Basics.
1 Interconnect/Via. 2 Delay of Devices and Interconnect.
High-Speed Digital Architectures
Sequential Networks: Timing and Retiming
EKT 121 / 4 ELEKTRONIK DIGIT I
Flip Flops Engr. Micaela Renee Bernardo. A latch is a temporary storage device that has two stable states (bistable). It is a basic form of memory. Latches.
Physical Properties of Logic Devices Technician Series Created Mar
1 Neutron Monitor Workshop 2(A): Principles of Digital Logic Mahidol University June 25, 2009 Paul Evenson University of Delaware Bartol Research Institute.
EE141 Timing Issues 1 Chapter 10 Timing Issues Rev /11/2003.
Chapter 2. High-speed properties of logic gates.
Ch.5 Flip Flops and Related Devices
Chapter 9 CAPACITOR.
Measurement and Instrumentation
전자파 연구실 1. Fundamentals. 전자파 연구실 1.1 Frequency and time Passive circuit elements is emphasized in high speed digital design : Wires, PCB, IC- package.
High Speed Properties of Digital Gates, Copyright F. Canavero, R. Fantino Licensed to HDT - High Design Technology
Power Distribution Copyright F. Canavero, R. Fantino Licensed to HDT - High Design Technology.
TERMINATIONS Copyright F. Canavero, R. Fantino Licensed to HDT - High Design Technology.
Digital Fundamentals Floyd Chapter 7 Tenth Edition
Basic Delay in Gates Definitions
CPE/EE 422/522 Advanced Logic Design L03
Lecture No. 7 Logic Gates Asalam O Aleikum students. I am Waseem Ikram. This is the seventh lecture in a series of 45 lectures on Digital Logic Design.
ECE434a Advanced Digital Systems L06
Chapter 10 Timing Issues Rev /11/2003 Rev /28/2003
Content Op-amp Application Introduction Inverting Amplifier
332:578 Deep Submicron VLSI Design Lecture 14 Design for Clock Skew
Digital Fundamentals Floyd Chapter 1 Tenth Edition
ECE 352 Digital System Fundamentals
Presentation transcript:

Clock distributions (v.9a)1 CENG3480_B1 Digital System Clock Reference: Chapter11 of High speed digital design, by Johnson and Graham

Clock distributions (v.9a)2 Setup time and Time margin §Setup time: The time that the input data must be stable before the clock transition of the system occurs. §Timing margin measures the slack, or excess time, remaining in each clock cycle l Protects your circuit against signal cross-talk, miscalculation of logic delays, and later minor changes in the layout. l Depends on both time delay of logic paths and clock interval.

Clock distributions (v.9a)3 Example to show the importance of time margin §A 2-bit ring counter §Initially A,B =0 ; A= §What is B? A B Ans:

Clock distributions (v.9a)4 A 2-bit ring counter example (Cont’d) §The result is ok when the clock is slow. §But we may have problems when the clock is too fast. (see next page)

Clock distributions (v.9a)5 § May cause problem if T CLK is too short

Clock distributions (v.9a)6 Exercise B4.1 §Given: l CLK 1 =CLK 2 =20MHz, l FF clock-to-Q output delay=8ns; l setup time for FF is 5ns; l Gate delay G is 10ns; l Q1 Q2 are 0 initially. §Questions: l Find time margin. l How many delay G gates can you insert between A and B without creating error? A B

Clock distributions (v.9a)7 §The clock does not reach at FF1, FF2 at the same time §E.g. Clock skew =(T C1,max - T C2,min ) =1 ns, §a positive skew when T C2,min happens earlier than T C1,max, FCLK0 cannot be too high. Skew (T C1,max - T C2,min ) A positive skew TCLK1 TCLK2 delay1 Source clock:CLK0 delay2 T C1,max = latest T C1 arrival time T C2,min = earliest T C2 arrival time CLK0 Set t=0 here Clock Skew

Clock distributions (v.9a)8 Clock skew § FF1 FF2 Clock source CLK1 CLK2 Skew (T C1,max -T C2, min ) Time t=0 T c2 T c1 T clock T setup T FF +T G

Clock distributions (v.9a)9 Clock skew (at FF1) §Due to the problem when the synchronous clock does not arrive at various components at the same time. §The latest possible arrival time for a pulse coming through gate G is T slow = T C1,max + T FF,max + T G,max l T slow = slowest arrival for pulse from G l T C1,max =Max. delay of path C 1 l T FF,max =Max. delay, clock to Q of FF1 l T G,max =Max. delay of G, including trace delay

Clock distributions (v.9a)10 Clock Skew ( at FF2, the next cycle) §The arrival time required by FF2 is T required = T CLK + T C2,min - T setup l T required = elapsed time by which data from G must arrive l T CLK =interval between clocks; clock period l T C2,min =Minimum delay of path C 2 l T setup =worst-case setup time required by FF2, data at D1 must arrive at least T setup before CLK 2

Clock distributions (v.9a)11 Clock Skew ( combining delay & setup requirements) §Data from G must arrive before T required to properly set FF2. So, l T required – T slow > 0, hence T required > T slow, therefore l T CLK + T C2,min - T setup > T C1,max + T FF,max + T G,max l T CLK > T FF,max + T G,max + T setup + (T C1,max - T C2,min ) + T some_margin §Example: assuming l T FF,max = 6ns l Delay between Flip-flops, T G,max + T setup = 5ns + 3ns = 8ns l clock skew =(T C1,max -T C2,min ) =1ns, a positive skew when T C2,min happens earlier than T C1,max. l Timing margin T some_margin = 4ns (make sure the circuit is reliable) l Total = 18ns ==> F max = 55.5MHz l Use clock frequency =55MHz would be safe.

Clock distributions (v.9a)12 Exercise: B4.2 §Given: l T FF,max = 7ns l T G,max = 5ns l T setup =4ns l Timing margin T margin =3ns l F CLK =40MHz §What is the biggest time skew allowed?

Clock distributions (v.9a)13 Strategies to reduce clock skew §Two main strategies: 1.Locate all clock inputs close together; but it is difficult to implement in a large circuit. 2.Drive them from the same source & balance the delays §Due to physical limitation, strategy 2 is often used 1.Spider-leg distribution network l use a power driver to drive N outputs. l Use load (R) termination to reduce reflection if the traces are long (distributed circuit). Total load =R/N. l E.g. line impedance=75 , N=3, total load=25 . l Two or more driver outputs in parallel may be needed. 2.Clock distribution tree.

Clock distributions (v.9a)14 Spider leg Distribution Network §

Clock distributions (v.9a)15 Clock distribution tree §

Clock distributions (v.9a)16 Delay adjustment §The simplest clock adjustment is fixed delay. §Fixed delay: l Delay line by transmission line: short delays 0.1-5ns, 10% variation, accurate. l Gate delays ns, 300% variation, not accurate. l Lumped-circuit delay (RC) Figure 11.10: 0.1->1000ns, variation 5-20%, accurate. §Adjustable delays l Delay line directly printed on PCB; delay may vary with temperature l Insert a RC circuit between two buffers

Clock distributions (v.9a)17 Selectable delay adjustment (using jumper)

Clock distributions (v.9a)18 Selectable delay adjustment (using jumper) §Jumper block will have bigger Capacitance §Use direct solder is better by more difficult to tune

Clock distributions (v.9a)19 Low Impedance Clock Distribution Line §Three means to reduce reflection pulse heights l Slow the rise & fall time of the driver l Lower the capacitance of each tap l Lower the characteristic impedance of the clock distribution line §Must also try to minimize the parasitic capacitance of the connector and PCB

Clock distributions (v.9a)20 Differential Distribution §Can survive tougher noise environment l Better signal size (lower amplitude: half) l Differential Balance §ECL signal system is better than TTL

Clock distributions (v.9a)21 Clock Signal Duty Cycle §Ideal duty cycle: 50% §Falling edge of an ideal clock signal bisects successive rising edge §Average DC value lies halfway between Hi & Lo states §Keeping symmetry is difficult because asymmetry response to rising and falling edge l Different propagation delays T LH & T HL §Long chain of identical gates will distort the pulse width, positive pulse may emerge shorter (and vice versa) §Two clever tricks: l Inverts the clock signal at every stage (balance the distortion) l Use analog circuit to reshape the waveform

Clock distributions (v.9a)22 Analogue circuit to reshape the clock §Tuning is difficult

Clock distributions (v.9a)23 Cancelling Parasitic Capacitance §When new device is added to a multi-drop line, the parasitic capacitance may cause clock phase shift (a function of the parasitic Capacitance) §Use a negative reactance to cancel the effect l works at a particular frequency only

Clock distributions (v.9a)24 Clock Generators (Oscillators) §Seldom design our own §Comes in hermetically sealed package l A thick film hybrid circuit on a substrate §More important to understand the requirements

Clock distributions (v.9a)25 Frequency Specifications §Frequency (Hertz, KHz, MHz, GHz) l Nominal operating frequency or centre frequency l Higher frequency is synthesis by filtering and enhancing harmonics of the crystal’s fundamental operating frequency §Stability l Consolidates variations due to temperature, manufacturing processes, operating voltage and aging l In parts per million (ppm); one-hundred ppm = 0.01 % §Aging l In ppm/year l Younger crystal ages faster §Voltage sensitivity

Clock distributions (v.9a)26 Allowed Operating Conditions §Temperature l Typically 0 – 70 o C l Cause Frequency change l Temperature drift is not linear §Input voltage l Like Vcc spec. for IC §Shock l Refers to mechanical (not electrical) shock l In units of G’s l Apply shock tests in both polarities along all three geometric axes §Vibration l Similar to shock, violently shakes the oscillator l Shock & vibration tests are essential to military or similar products §Humidity l Hermetically sealed package can easily work at any condition

Clock distributions (v.9a)27 Electrical Parameters §Output type l TTL, CMOS or ECL (10K or 100K) outputs §Maximum loading l Excess load may cause drift §Duty Cycle l More difficult to guarantee at higher frequency §Rise and fall times l Common practice: 10-90% are given in ns §Input current l In milliamps l A function of the Frequency; higher the frequency, more energy is required

Clock distributions (v.9a)28 Mechanical Configuration §DIP §Half DIP §Surface mount Manufacturing Issues §Solderability §Cleaning §Package leak rate

Clock distributions (v.9a)29 Reliability §Functional screening (how many did manufacturer test) §Aging at accelerated temperature Bells and Whistles §Differential outputs §Enable §Voltage controlled oscillator (adjust frequency electronically) §Tuning

Clock distributions (v.9a)30 Other Issues §Clock Jitter l Clock oscillator contains a high frequency amplifier that may resonate l This high frequency signal may appear as noise and appears at the output in the form of clock jitter (superimpose of base signal and higher frequency components) l May cause malfunction l Can use measuring technique and feedback system to control the effect

Clock distributions (v.9a)31 §Need to control Power supply stability l Supply variation will affect the frequency and will appear as noise §Laying clock signal lines also need special attention l Cause lots of noise (cross talk due to high frequency) l Must try to specify, demand special treatment and lay out the clock distribution network first l Use thicker line or isolation grid to make bigger separation from other signals l Use a separate layer

Clock distributions (v.9a)32 Answer for B4.1 §Clock cycle is (T) 1/20Mhz = 50 ns §Time margin = T- clock_to_Q+ setup_time - delay_G § = 50ns – 8ns-5ns-10ns=27ns §Since each delay is 10ns, so you may add 2 more (totally 3 between A and B).

Clock distributions (v.9a)33 Answer: B4.2 § T CLK > T FF,max + T G,max + T setup + (T C1,max -T C2,min ) +T margin § T FF,max = 7ns § T G,max = 5ns; T setup =4ns § Timing margin T margin =3ns § F CLK =40MHz => T CLK =25ns § Max. Time skew (T C1,max -T C2,min )> T CLK -(T FF,max + T G,max +T setup +T margin ) =25ns- (7ns+5ns+4ns+3ns)= 6ns.