Signal and Timing Parameters I Common Clock – Class 2

Slides:



Advertisements
Similar presentations
ECE555 Lecture 5 Nam Sung Kim University of Wisconsin – Madison
Advertisements

Lecture 2 ANALYSIS OF VARIANCE: AN INTRODUCTION
Control and Feedback Introduction Open-loop and Closed-loop Systems
CS 140 Lecture 11 Sequential Networks: Timing and Retiming Professor CK Cheng CSE Dept. UC San Diego 1.
Bus arbitration Processor and DMA controllers both need to initiate data transfers on the bus and access main memory. The device that is allowed to initiate.
Processor Data Path and Control Diana Palsetia UPenn
Microprocessor Architecture Pipelined Architecture
Charge Pump PLL.
Chapter 9 -- Simplification of Sequential Circuits.
Chapter 3 Basic Logic Gates 1.
1 A latch is a pair of cross-coupled inverters –They can be NAND or NOR gates as shown –Consider their behavior (each step is one gate delay in time) –From.
Chapter 3 Logic Gates.
CMOS Logic Circuits.
The scale of IC design Small-scale integrated, SSI: gate number usually less than 10 in a IC. Medium-scale integrated, MSI: gate number ~10-100, can operate.
Logic Gates Flip-Flops Registers Adders
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Digital Components Introduction Gate Characteristics Logic Families
Selected Design Topics. Integrated Circuits Integrated circuit (informally, a chip) is a semiconductor crystal (most often silicon) containing the electronic.
ASYNC07 High Rate Wave-pipelined Asynchronous On-chip Bit-serial Data Link R. Dobkin, T. Liran, Y. Perelman, A. Kolodny, R. Ginosar Technion – Israel Institute.
Flip-Flops and Registers
Cost-Volume-Profit Relationships
1 ENGG 1015 Tutorial Revision tutorial 11 Dec Learning Objectives Prepare for the examination News Examination Closed book; Need to bring calculators SETL.
Capacity Planning For Products and Services
Digital Techniques Fall 2007 André Deutz, Leiden University
Overview Memory definitions Random Access Memory (RAM)
Gursharan Singh Tatla PIN DIAGRAM OF 8086 Gursharan Singh Tatla Gursharan Singh Tatla
©2004 Brooks/Cole FIGURES FOR CHAPTER 12 REGISTERS AND COUNTERS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Practical Considerations for Digital Design
©2004 Brooks/Cole FIGURES FOR CHAPTER 11 LATCHES AND FLIP-FLOPS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter.
Multivibrators and the 555 Timer
ECE 424 – Introduction to VLSI
KU College of Engineering Elec 204: Digital Systems Design
1 Lecture 16 Timing  Terminology  Timing issues  Asynchronous inputs.
1 COMP541 Flip-Flop Timing Montek Singh Oct 6, 2014.
Modern VLSI Design 4e: Chapter 5 Copyright  2008 Wayne Wolf Topics n Performance analysis of sequential machines.
Introduction to CMOS VLSI Design Sequential Circuits.
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,
Leveraging Software to Enhance Timing Analysis for Actel RTAX-S Devices Johnny Chung Corporate Applications Engineering Actel Corporation MAPLD 2005.
1 Lecture 28 Timing Analysis. 2 Overview °Circuits do not respond instantaneously to input changes °Predictable delay in transferring inputs to outputs.
Introduction to CMOS VLSI Design Clock Skew-tolerant circuits.
© H. Heck 2008Section 4.11 Module 4:Metrics & Methodology Topic 1: Synchronous Timing OGI EE564 Howard Heck.
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.
Lecture 8: Clock Distribution, PLL & DLL
68000 Interface Timing Diagrams Outline –68000 Read Cycle –68000 Write Cycle Goal –Understand bus cycles –Learn how to attach memory, peripherals.
© H. Heck 2008Section 4.31 Module 4:Metrics & Methodology Topic 3: Source Synchronous Timing OGI EE564 Howard Heck.
Introduction to CMOS VLSI Design Lecture 10: Sequential Circuits Credits: David Harris Harvey Mudd College (Material taken/adapted from Harris’ lecture.
CS 151 Digital Systems Design Lecture 28 Timing Analysis.
Global Timing Constraints FPGA Design Workshop. Objectives  Apply timing constraints to a simple synchronous design  Specify global timing constraints.
© H. Heck 2008Section 4.41 Module 4:Metrics & Methodology Topic 4: Recovered Clock Timing OGI EE564 Howard Heck.
Closing the loop in high speed design 1 Improving your process for high-speed PCB design “Closing the loop between timing analysis and signal integrity”
Using Transmission Lines III – class 7 Purpose – Consider finite transition time edges and GTL. Acknowledgements: Intel Bus Boot Camp: Michael Leddige.
© BYU 18 ASYNCH Page 1 ECEn 224 Handling Asynchronous Inputs.
© 2003 Xilinx, Inc. All Rights Reserved Global Timing Constraints FPGA Design Flow Workshop.
1 Signal and Timing Parameters II Source Synchronous Timing – Class 3 a.k.a. Co-transmitted Clock Timing a.k.a. Clock Forwarding. Assignment for next class:
Introduction to Clock Tree Synthesis
1 COMP541 Sequential Logic Timing Montek Singh Sep 30, 2015.
Timing Behavior of Gates
Physical Properties of Logic Devices Technician Series Created Mar
Lecture 11: Sequential Circuit Design
Timing issues.
Limitations of STA, Slew of a waveform, Skew between Signals
Introduction to Static Timing Analysis:
Timing Analysis 11/21/2018.
Topics Performance analysis..
Chapter 10 Timing Issues Rev /11/2003 Rev /28/2003
ECE 352 Digital System Fundamentals
FPGA Tools Course Timing Analyzer
Advanced Computer Architecture Lecture 7
Presentation transcript:

Signal and Timing Parameters I Common Clock – Class 2 Prerequisite Reading assignment: CH8 to 9.3 Acknowledgements: Intel Bus Boot Camp: Howard Heck

Signal Parameters & Timing Class 2 Agenda Voltage and Time Budgets Computer Signaling Elements and Circuits Flight time Synchronous Bus Operation Clock Skew and Jitter Setup and Hold Manufacturing Considerations Advanced Topics Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Voltage and time SI boils down to meeting voltage and time specifications True for most I/O computer interfaces Violating a time or voltage specification i.e. exceeding a limit, may cause a circuit to fail Notice the use of the word “may” rather than “will” Most limits are at least 3 sigma limits. The actual sigma limits are usually a company secret. Margin is the difference between a specification and the respective measured signal parameter. Margin is considered a quality factor for a design. Prior technical preparation should review statistics. Distributions, ERF and sigma. Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 SI Budgets An SI budget is a technique used to report timing and voltage margin in terms of voltage and timing components (“buckets”) for all configurations and conditions of a particular bus design. The budget is often represented in a spread sheet. =B2-(C2+D2+E2) … Cell formula Signal Parameters & Timing Class 2

What Failing SI Means: Negative margin Probability that a parameter is a certain value + limit - limit Mean Measured parameter value The integral of the probability function outside these limits is the failing population Pf X volume X cost/unit = variable cost of failure Not the whole story – A bad name can cost billions in fixed costs (good will) Signal Parameters & Timing Class 2

Simple I/O Architecture CPUs RAM Memory & I/O control clock Pre- ’00 the most common computer I/O interface was synchronous memory transfer Intel Xeon 100 MHz bus was just about the last in this class Clock distribution is a challenge – more on this later Signal Parameters & Timing Class 2

Synchronous Memory Elements - Operation Inter- connect Clock Device a Device b Operation A data signal (in) that is present at the input to the flip-flop is “latched” into the flip-flop by the rising edge of the input clock signal (clk). On the next rising edge of clk, the data signal is released to the output of the flip-flop (out). This means data is clocked out of device a on one clock edge and received at device b on the next clock edge. This is also called common clocking. Signal Parameters & Timing Class 2

Synchronous Memory Elements - Timing Valid data must be present for a minimum amount of time prior to the input clock edge to guarantee successful capture of the data. This is known as setup time, Tsetup. Data must remain valid for a minimum amount of time after the input clock edge to guarantee that the proper value is captured. This is called hold time, Thold. Signal Parameters & Timing Class 2

Simple Flight Time Concept The time it takes a signal to travel from device a to device b or the delay between transmitted (a) and received (b) signals. This is not the definition that SI engineers use in a timing budget There are issues with timing budgets and device timing parameters that make this a poor definition. We will develop the exact definition of flight time for SI later SI engineers use the term propagation delay but it is not the same as AC propagation delay. We will develop the exact definition later; for now let’s consider all delays the same. AC is frequency domain analysis. Connection Trace Device a Device b Signal Parameters & Timing Class 2

Synchronous Bus Operation clk Explain picture? CLK CLK FROM CORE D Q D Q TO CORE a b We wish to use the clock to control the transmission of data from the latch in the source (a) to the latch in the destination (b). The initial clock pulse causes the source latch to release the data onto the interconnect. The next clock pulse causes the destination latch to capture the data that was transmitted on the interconnect We have 1 full clock cycle to get the data from the source to destination. Signal Parameters & Timing Class 2

Transmit Clock Sequence (1) clk T drv_clk (1a) T prop_clk (1b) CLK CLK FROM CORE D Q D Q TO CORE a b Initial (driving) clock pulse transmission from clock generator to source. Tdrv_clk = delay of the clock buffer circuit connected to the source from node 1 to node 1a. Tprop_clk = delay of the interconnect between clk & a. Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Data Path Sequence (1) clk T drv_clk (1a) T prop_clk (1b) T prop (2b) CLK CLK FROM CORE Q Q TO CORE D D a b T (2a) T (2c) drv setup Data transmission from source to destination. Tdrv = delay of the output buffer circuit for the data signal. Tprop = interconnect delay between source and destination. Tsetup = delay of the input buffer plus the flip-flop setup requirement. Signal Parameters & Timing Class 2

Receive Clock Sequence (1) clk T T (b) drv_clk drv_clk (1a) (3a) T T prop_clk prop_clk (b) (1b) (3b) T prop (2b) CLK CLK FROM CORE D Q D Q TO CORE a b T (2a) T (2c) drv setup Second (receiving) clock pulse transmission from clock generator to destination. Tdrv_clk(b) = delay of the clock buffer circuit connected to b. Tprop_clk(b) = delay of the interconnect between clk & b. Ideal assumption: Tdrv_clk = Tdrv_clk(b) & Tprop_clk = Tprop_clk(b) Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Clock Skew Transmit clock at device a Receive clock at device b What happens if the clock signals at the source and destination are not in phase? What if the clock arrives at the destination before it reaches the source? Vice-versa? What are the sources of uncertainty in the phase relationship between different clock signals? Clock Skew: pin-to-pin variation in the timing of input clock at each agent (source & destination, in our example) on a bus. The net effect of clock skew is that it can reduce the total delay that signals are allowed to have for a given frequency target. require larger minimum signal delays in order to avoid logic errors. (We’ll cover this in more detail shortly.) Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Sources of Clock Skew Clock skew is caused by: variation between the clock driver circuits in a given part (Tdrv). variation in the loading between different agents on the bus (CL). variation in interconnect characteristics (Z0, td ). variation in electrical lengths. What is electrical length? Z0 , td CL Tdrv Clock Driver b a Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Clock Jitter Idea clock Clock with Cycle to Cycle Jitter Bar graph of each cycle time Pulse Width (Ideal) Pulse Width (Actual) Cycle to cycle variation of clock Changes the time available for data to get from transmitter to receiver Jitter + Skew = Clock uncertainty for setup Skew = Clock uncertainty for hold Hold uses same cycle of clock In many cases we can ignore certain types of jitter There are other types of jitter – more advanced topic Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Skew & Jitter Example 100 MHz bus Minimum clock period = 10 ns Given: Maximum skew = 250 ps Maximum edge-edge jitter = 250 ps. Calculate the minimum effective clock period: minimum effective period = minimum period – maximum skew – maximum jitter min effective period = 10.0 ns – 0.25 ns – 0.25 ns = 9.5 ns Therefore, maximum allowed for silicon plus interconnect delay is 9.5 ns. Signal Parameters & Timing Class 2

Setup Timing Diagram & Loop Analysis Tcycle CLOCK @ clk input Tdrv_clk Tdrv_clk (b) CLOCK(a) @ clk output Tprop_clk CLOCK(a) @ a Tdrv DATA @ a Tprop Tmargin DATA @ b Tsetup CLOCK(b) @ clk output Tprop_clk(b) CLOCK(b) @ b Tjitter Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Hold Timing Equation Uses same clock edge Hold equation Define Clock Delay Clock Skew Simplify Signal Parameters & Timing Class 2

Manufacturability Considerations Sources of variability in silicon: manufacturing process (e.g. silicon gate length) operating temperature (MOS speed  as temp ) operating voltage (MOS speed  as voltage ) Impact: variability leads to a range of values for driver and receiver timings Example: Pentium® Pro GTL+ timings Minimum driver valid delay = 0.55 ns Maximum driver valid delay = 4.40 ns Maximum receiver setup time = 2.20 ns Maximum receiver hold time = 0.45 ns Sources of interconnect variability: Manufacturing variation (Z0, er) Trace length variation (among 144 signals for FSB, for example) Signal Parameters & Timing Class 2

Revised Timing Equations Product specifications must comprehend the expected variation. We need to modify the setup & hold equations: The setup equation defines the minimum clock cycle time (max frequency) in terms of the maximum system delay terms. We want Tmargin_setup  0. Excessive system delays can be handled by increasing cycle time, at the cost of reduced performance. The hold equation defines minimum system delay requirements to avoid logic errors due to hold violations. We want Tmargin_hold  0. Minimum delay violations cannot be fixed by increasing cycle time. Why? Setup Hold Signal Parameters & Timing Class 2

Device Specs and Test Loads Device specifications vs. system conditions The manufacturer guarantees that the parts meet the values in the timing specifications when driving into the “spec load”. This is really the only way devices can be tested. The spec load is typically equal to the load presented to the device by the device level test environment. This spec load is generally not the same as the load presented to the device by the system interconnect. 65 W 10pF Spec Load System Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Impact of Spec Loads Since the spec load is NOT equal to the load on the device when placed in a system: An output buffer will have a different delay in the system than in the test environment. To deal with this: define new timing terms change the way we break the timings into separate components. Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Flight Time Driver Pin into System Load Clock Input to Transmitting Chip Driver Pin into Test Load Tco Tflight Voltage Threshold Tdrv Tprop Receiver Pin Signal Parameters & Timing Class 2 Time

Signal Parameters & Timing Class 2 Flight Time Explained Define Tco (time from clock-in to data-out) as the delay from the input clock to the output data when driving into the test load. Define Tflight (flight time) as the delay to the receiver minus the Tco. By defining the timings in this way, the flight time accounts for the propagation delay of the interconnect PLUS the difference between the driver delays when driving test load vs. the system load. Notice: We defined Tco and Tflight this way to guarantee the overall system timings remain the same. Signal Parameters & Timing Class 2

Revised Timing Equations Setup Hold The system designer relies on the synchronous timing equations help define the working flight time window (min-to-max) with the given component timing specs. Ultimately, the equations provide a tool for a design team. Use them to evaluate design trade-offs in order to achieve system performance (frequency) targets. Signal Parameters & Timing Class 2

Example: Bus Timing Spread Sheet – Setup times Signal Parameters & Timing Class 2

Synchronous Timing Summary Synchronous memory elements require a stable data signal for a minimum amount of time prior to (SETUP) & after (HOLD) the input clock. Hold and setup conditions determine the minimum and maximum system delays. Setup and hold conditions can be analyzed by constructing timing loops in the timing diagrams. Component delays exhibit variation across process and environmental conditions. Interconnect delays vary due to design and process. Redefining driver and interconnect delays in terms of system and “spec” loads allows manufacturers to specify and test component delays. System timing equations provide a key tool for examining trade-offs during system design. Signal Parameters & Timing Class 2

Signal Parameters & Timing Class 2 Assignment CPU1 CPU4 CPU2 CPU3 L1=5” L4=3” L3=2” Chipset L2=2” Create Budget Spreadsheet for setup and hold Find and justify maximum frequency of operation Find all minimum lengths Signal Parameters & Timing Class 2