The Linear-Feedback Shift Register

Similar documents
EE115C Winter 2017 Digital Electronic Circuits. Lecture 19: Timing Analysis

Xarxes de distribució del senyal de. interferència electromagnètica, consum, soroll de conmutació.

Timing Issues. Digital Integrated Circuits A Design Perspective. Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolić. January 2003

Lecture 25. Dealing with Interconnect and Timing. Digital Integrated Circuits Interconnect

GMU, ECE 680 Physical VLSI Design 1

Lecture 23. Dealing with Interconnect. Impact of Interconnect Parasitics

EECS 427 Lecture 14: Timing Readings: EECS 427 F09 Lecture Reminders

Clock signal in digital circuit is responsible for synchronizing the transfer to the data between processing elements.

EE241 - Spring 2007 Advanced Digital Integrated Circuits. Announcements

Lecture 27: Latches. Final presentations May 8, 1-5pm, BWRC Final reports due May 7 Final exam, Monday, May :30pm, 241 Cory

Clocking Issues: Distribution, Energy

Lecture 9: Clocking, Clock Skew, Clock Jitter, Clock Distribution and some FM

Homework 2 due on Wednesday Quiz #2 on Wednesday Midterm project report due next Week (4 pages)

Issues on Timing and Clocking

Final presentations May 8, 1-5pm, BWRC Final reports due May 7, 8pm Final exam, Monday, May :30pm, 241 Cory

CMPEN 411 VLSI Digital Circuits Spring 2012 Lecture 17: Dynamic Sequential Circuits And Timing Issues

Skew-Tolerant Circuit Design

CSE241 VLSI Digital Circuits Winter Lecture 07: Timing II

Digital Integrated Circuits A Design Perspective

Jin-Fu Li Advanced Reliable Systems (ARES) Lab. Department of Electrical Engineering. Jungli, Taiwan

Lecture 9: Sequential Logic Circuits. Reading: CH 7

Clock Strategy. VLSI System Design NCKUEE-KJLEE

Designing Sequential Logic Circuits

Next, we check the race condition to see if the circuit will work properly. Note that the minimum logic delay is a single sum.

EE241 - Spring 2006 Advanced Digital Integrated Circuits

Timing Analysis with Clock Skew

EECS 427 Lecture 15: Timing, Latches, and Registers Reading: Chapter 7. EECS 427 F09 Lecture Reminders

UNIVERSITY OF CALIFORNIA

Itanium TM Processor Clock Design

MODULE 5 Chapter 7. Clocked Storage Elements

9/18/2008 GMU, ECE 680 Physical VLSI Design

EE141Microelettronica. CMOS Logic

Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. November Digital Integrated Circuits 2nd Sequential Circuits

Digital System Clocking: High-Performance and Low-Power Aspects. Vojin G. Oklobdzija, Vladimir M. Stojanovic, Dejan M. Markovic, Nikola M.

GMU, ECE 680 Physical VLSI Design

Digital Integrated Circuits A Design Perspective

Topics. Dynamic CMOS Sequential Design Memory and Control. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

EE382 Processor Design Winter 1999 Chapter 2 Lectures Clocking and Pipelining

EE371 - Advanced VLSI Circuit Design

Chapter 5 CMOS Logic Gate Design

Hold Time Illustrations

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

Digital Integrated Circuits A Design Perspective

EE 560 CHIP INPUT AND OUTPUT (I/0) CIRCUITS. Kenneth R. Laker, University of Pennsylvania

Problem Set 9 Solutions

Implementation of Clock Network Based on Clock Mesh

ΗΜΥ 307 ΨΗΦΙΑΚΑ ΟΛΟΚΛΗΡΩΜΕΝΑ ΚΥΚΛΩΜΑΤΑ Εαρινό Εξάμηνο 2018

CPE/EE 422/522. Chapter 1 - Review of Logic Design Fundamentals. Dr. Rhonda Kay Gaede UAH. 1.1 Combinational Logic

EEC 216 Lecture #3: Power Estimation, Interconnect, & Architecture. Rajeevan Amirtharajah University of California, Davis

Digital VLSI Design. Lecture 8: Clock Tree Synthesis

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

EE141- Spring 2007 Digital Integrated Circuits

9/18/2008 GMU, ECE 680 Physical VLSI Design

Digital Logic Design - Chapter 4

Homework Assignment #5 EE 477 Spring 2017 Professor Parker

ALU, Latches and Flip-Flops

Integrated Circuits & Systems

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

Memory, Latches, & Registers

NTE4035B Integrated Circuit CMOS, 4 Bit Parallel In/Parallel Out Shift Register

INTEGRATED CIRCUITS. For a complete data sheet, please also download:


Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

Lecture 21: Packaging, Power, & Clock

Luis Manuel Santana Gallego 31 Investigation and simulation of the clock skew in modern integrated circuits

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Motivation for CDR: Deserializer (1)

5. Sequential Logic x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

EECS 141 F01 Lecture 17

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

EE241 - Spring 2003 Advanced Digital Integrated Circuits

Chapter 7. Sequential Circuits Registers, Counters, RAM

Fundamentals of Computer Systems

ECE321 Electronics I

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

DATA SHEET. HEF4031B MSI 64-stage static shift register. For a complete data sheet, please also download: INTEGRATED CIRCUITS

ECE 342 Electronic Circuits. Lecture 35 CMOS Delay Model

Chapter 10 SOLUTIONS

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

COMP 103. Lecture 16. Dynamic Logic

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

Semiconductor Memories

! Charge Leakage/Charge Sharing. " Domino Logic Design Considerations. ! Logic Comparisons. ! Memory. " Classification. " ROM Memories.

! Crosstalk. ! Repeaters in Wiring. ! Transmission Lines. " Where transmission lines arise? " Lossless Transmission Line.

Sequential vs. Combinational

Lecture #4: Potpourri

CHW 261: Logic Design

Frequency Detection of CDRs (1)

Integrated Circuits & Systems

Chapter 13. Clocked Circuits SEQUENTIAL VS. COMBINATIONAL CMOS TG LATCHES, FLIP FLOPS. Baker Ch. 13 Clocked Circuits. Introduction to VLSI

Lecture 5. MOS Inverter: Switching Characteristics and Interconnection Effects

Lecture 16: Circuit Pitfalls

Sequential Logic Worksheet

Managing Physical Design Issues in ASIC Toolflows Complex Digital Systems Christopher Batten February 21, 2006

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

Transcription:

EECS 141 S02 Timing Project 2: A Random Number Generator R R R S 0 S 1 S 2 1 0 0 0 1 0 1 0 1 1 1 0 1 1 1 0 1 1 0 0 1 1 0 0 The Linear-Feedback Shift Register 1

Project Goal Design a 4-bit LFSR SPEED, SPEED, SPEED! Feel free to use:» Logic style» Register style» Clocking style No layout, only schematics and simulation 4-bit LFSR R R R R A 0 A 1 A 2 A 3 Pseudo-Randomnumber generator. + additional circuitry for asynchronous reset to a seed 2

Constraints TECHNOLOGY: 0.25µm CMOS technology SUPPLY: 2.5V PERFORMANCE METRIC: V OH, V OL : The output signals should settle to within 10% of their final value before the next clock event can be introduced!!! NOISE MARGINS: The noise margins should be at least 10% of the voltage swing. LOAD CAPACITANCE: Each output bit of the generator should have a 20 ff load. CLOCKS: You are given a primary clock signal with a rise and fall time of 50 psec and a duty cycle of 50%. NO RACES!!!!!!!!!!!!!!! Reporting No written report Submit a short summary of your results on May 6 Poster presentation on afternoon of Tu May 7 (9 power-point slides)» Tell your story in 5 minutes!» And convince us that your design is the best And submit your poster electronically 3

Latch Parameters D Q D PW m T H T SU Q T -Q T D-Q Delays can be different for rising and falling data transitions Flip-Flop Parameters D Q D PW m T H T SU Q T -Q Delays can be different for rising and falling data transitions 4

The Clock Distribution Challenge Global operations Low bandwidth High latency & High power 20 Clocks 90,000 tracks Local, parallel operations High bandwidth Low latency & Low power Source: Bill Dally, Stanford Example Clock System Courtesy of IEEE Press, New York. 2000 5

Clock Nonidealities Clock skew» Spatial variation in temporally equivalent clock edges; deterministic + random, t SK Clock jitter» Temporal variations in consecutive edges of the clock signal; modulation + random noise» Cycle-to-cycle (short-term) t JS» Long term t JL Variation of the pulse width» for level sensitive clocking Clock Skew and Jitter t SK t JS Both skew and jitter affect the effective cycle time Only skew affects the race margin 6

Clock Skew #ofregisters Earliest occurrence of edge Nominal T sk /2 Latest occurrence of edge Nominal + T sk /2 Insertion delay Max skew delay T sk Sources of skew and jitter 1 Devices 4 2 Clock Generation Power Supply 3 5 Interconnect Temperature 6 Capacitive Load 7Coupling to Adjacent Lines 7

Positive and Negative Skew φ Data CL R CL R CL R (a) Positive skew φ Data CL R CL R CL R (b) Negative skew Constraints on Skew R1 δ φ φ t φ t φ = t φ + δ t r,min + t l,min data R2 Late (a) Race between clock and data. δ φ φ φ + P t φ t φ + T = t r,max + t l,max i t φ + T + δ R1 R2 data Early (b) Data should be stable before clock pulse is applied. 8

Clock Constraints in Edge-Triggered Logic δ t rmin, + t i + t l, min T t rmax, + t i + t l, δ max Maximum Clock Skew Determined by Minimum Delay between Latches Minimum Clock Period Determined by Maximum Delay between Latches Impact of Jitter CLK 1 2 T CLK 3 4 5 -t ji tte r t jitter 6 In REGS CLK t c-q,t c-q, cd t su, t hold t jitter Combinational Logic t logic t log ic, cd 9

Longest Logic Path in Edge-Triggered Systems T -Q T T LM T SU T JI - δ Latest point of launching Earliest arrival of next cycle Unger and Tan Trans. on Comp. 10/86 Clock Constraints in Edge-Triggered Systems If launching edge is late and receiving edge is early, the data will not be too late if: T c-q +T LM +T SU <T T JI,1 T JI,2 + δ Minimum cycle time is determined by the maximum delays through the logic T c-q +T LM +T SU - δ +2T JI <T Jitter always works negatively 10

Shortest Path Earliest point of launching T -Q T Lm T H Nominal clock edge Data must not arrive before this time Clock Constraints in Edge-Triggered Systems If launching edge is early and receiving edge is late: T c-q +T LM T JI,1 <T H +T JI,2 + δ Minimum logic delay T c-q +T LM <T H +2T JI + δ 11

How to counter Clock Skew? Negative Skew REG φ REG. REG log Out In REG φ φ Positive Skew φ Clock Distribution Data and Clock Routing Flip-Flop Based Timing φ Logic delay Skew Flip-flop delay Flip -flop Logic T SU φ = 0 T -Q φ = 1 12

Flip-Flops and Dynamic Logic Logic delay T SU T SU T -Q φ = 0 T -Q φ = 1 φ = 0 φ = 1 Precharge Evaluate Logic delay Evaluate Precharge Flip-flops are used only with static logic Latch timing t D-Q D Q When data arrives to transparent latch Latch is a soft barrier t -Q When data arrives to closed latch Data has to be re-launched 13

Single-Phase Clock with Latches φ Latch Unger and Tan Trans. on Comp. 10/86 Logic T skl T skl T skt T skt PW P Latch-Based Design L1 latch is transparent when φ =0 φ L2 latch is transparent when φ =1 L1 Latch Logic L2 Latch Logic 14

Slack-borrowing In L1 D Q CLB_A L2 L1 D Q CLB_B D Q a t pd,a b c t pd,b d e CLK1 CLK1 CLK2 T CLK 1 2 3 4 CLK1 CLK2 slack passed to next stage t pd,a t DQ t pd,b t DQ a valid b valid c valid e valid d valid Latch-Based Timing φ Static logic Skew L1 Latch Logic L2 Latch φ = 1 L2 latch L1 latch Logic Long path φ = 0 Can tolerate skew! Short path 15

Clock Distribution CLOCK H-Tree Network Observe: Only Relative Skew is Important More realistic H-tree [Restle98] 16

Clock Network with Distributed Buffering Local Area Module Module secondary clock drivers Module Module Module Module main clock driver CLOCK Reduces absolute delay, and makes Power-Down easier Sensitive to variations in Buffer Delay The Grid System Driver GCLK GCLK Driver Driver GCLK No rc-matching Large power Driver GCLK 17

Example: DEC Alpha 21164 Clock Frequency: 300 MHz - 9.3 Million Transistors Total Clock Load: 3.75 nf Power in Clock Distribution network : 20 W (out of 50) Uses Two Level Clock Distribution: Single 6-stage driver at center of chip Secondary buffers drive left and right side clock grid in Metal3 and Metal4 Total driver size: 58 cm! 21164 Clocking t rise = 0.35ns t cycle = 3.3ns Clock waveform final drivers pre-driver Location of clock driver on die t skew = 150ps 2 phase single wire clock, distributed globally 2 distributed driver channels» Reduced RC delay/skew» Improved thermal distribution» 3.75nF clock load» 58 cm final driver width Local inverters for latching Conditional clocks in caches to reduce power More complex race checking Device variation 18

Clock Drivers Clock Skew in Alpha Processor 19

EV6 (Alpha 21264) Clocking 600MHz 0.35micronCMOS t cycle = 1.67ns t rise = 0.35ns Global clock waveform t skew = 50ps PLL 2 Phase, with multiple conditional buffered clocks» 2.8 nf clock load» 40 cm final driver width Local clocks can be gated off to save power Reduced load/skew Reduced thermal issues Multiple clocks complicate race checking 21264 Clocking 20

EV6 Clock Results ps 5 10 15 20 25 30 35 40 45 50 ps 300 305 310 315 320 325 330 335 340 345 GCLK Skew (at Vdd/2 Crossings) GCLK Rise Times (20% to 80% Extrapolated to 0% to 100%) EV7 Clock Hierarchy Active Skew Management and Multiple Clock Domains NCLK (Mem Ctrl) + widely dispersed drivers DLL DLL DLL + DLLs compensate static and lowfrequency variation + divides design and verification effort L2L_CLK (L2 Cache) GCLK (CPU Core) PLL L2R_CLK (L2 Cache) - DLL design and verification is added work SYSCLK + tailored clocks 21