B0101 Time for Time ENGR xD52 Eric VanWyk Fall 2012.

Slides:



Advertisements
Similar presentations
01 Introduction to Digital Logic
Advertisements

B0100 Floating Point ENGR xD52 Eric VanWyk Fall 2012.
1 Sequential Ckts, Latches and Timing Issues Today: Sequential Circuits, LatchesFirst Hour: Sequential Circuits, Latches –Section of Katz’s Textbook.
CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Classification of Digital Circuits  Combinational. Output depends only on current input values.  Sequential. Output depends on current input values and.
Sequential Circuits1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
1 Sequential Circuits –Digital circuits that use memory elements as part of their operation –Characterized by feedback path –Outputs depend not only on.
Sequential Logic Computer Organization Ellen Walker Hiram College Figures from Computer Organization and Design 3ed, D.A. Patterson & J.L. Hennessey, Morgan.
Digital Logic Circuits (Part 2) Computer Architecture Computer Architecture.
Dr. ClincyLecture1 Appendix A – Part 2: Logic Circuits Current State or output of the device is affected by the previous states Circuit Flip Flops New.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
+ CS 325: CS Hardware and Software Organization and Architecture Sequential Circuits 1.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Overview Logic Combinational Logic Sequential Logic Storage Devices SR Flip-Flops D Flip Flops JK Flip Flops Registers Addressing Computer Memory.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #10 Latches, Flip Flops & Sequential PALS.
So far, all of the logic circuits we have studied were basically based on the analysis and design of combinational digital circuits. The other major aspect.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
Digital Computer Design Fundamental
COE 202: Digital Logic Design Sequential Circuits Part 1
Flip Flop
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
B0010 Boolean Logic ENGR xD52 Eric VanWyk Fall 2012.
Digital Logic Design Review Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM 2010.
Chap 4. Sequential Circuits
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
Sequential Circuits. Two primary differences between combinational circuits and sequential circuits –Sequential circuits are synchronous (use a clock)
Company LOGO DKT 122/3 DIGITAL SYSTEM 1 WEEK #12 LATCHES & FLIP-FLOPS.
Topic: Sequential Circuit Course: Logic Design Slide no. 1 Chapter #6: Sequential Logic Design.

Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
Hamming Code,Decoders and D,T-flip flops Prof. Sin-Min Lee Department of Computer Science.
CS/COE0447 Computer Organization & Assembly Language
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
EKT 121 / 4 ELEKTRONIK DIGIT I
5 Chapter Synchronous Sequential Circuits 1. Logic Circuits- Review 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates.
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
CO5023 Latches, Flip-Flops and Decoders. Sequential Circuit What does this do? The OUTPUT of a sequential circuit is determined by the current output.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
Lecture 23: 11/26/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
74 Combinational Logic Design Process 1. Understand the Problem what is the circuit supposed to do? write down inputs (data, control) and outputs draw.
Contemporary Logic Design Prog. & Steering Logic © R.H. Katz Transparency No. 9-1 Chapter # 4: Programmable and Steering Logic Section 4.3, 4.4, 4.5, 4.6.
B0001 Boolean Logic ENGR xD52 Eric VanWyk Fall 2013.
B0010 Time for Time ENGR xD52 Eric VanWyk Fall 2012.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
b0000 Zero Day ENGR xD52 Eric VanWyk Fall 2014 Agenda General Awkwardness Basic Orientation Information Course Objectives & Details Eric’s guide to getting.
b0000 Zero Day ENGR xD52 Eric VanWyk Fall 2013 Agenda General Awkwardness Basic Orientation Information Course Objectives & Details VDub‘s guide to getting.
B0101 Time for Time ENGR xD52 Eric VanWyk Fall 2012.
Computer Science 210 Computer Organization
LATCHES AND FLIP-FLOPS
LATCHED, FLIP-FLOPS,AND TIMERS
Digital Design Lecture 9
Synchronous Sequential Circuits
CS Chapter 3 (3A and ) – Part 4 of 5
CISE204: Design of Digital Systems Lecture 18 : Sequential Circuits
Computer Science 210 Computer Organization
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Sequential logic circuits
CPE/EE 422/522 Advanced Logic Design L02
Boolean Algebra and Digital Logic
Computer Science 210 Computer Organization
Elec 2607 Digital Switching Circuits
CS/COE0447 Computer Organization & Assembly Language
Reference: Chapter 5 Sequential Circuits Moris Mano 4th Ediditon
FLIP-FLOPS.
14 Digital Systems.
Presentation transcript:

b0101 Time for Time ENGR xD52 Eric VanWyk Fall 2012

Acknowledgements Mark L. Chang lecture notes for Computer Architecture (Olin ENGR3410) Patterson & Hennessy: Book & Lecture Notes Patterson’s 1997 course notes (U.C. Berkeley CS 152, 1997) Tom Fountain 2000 course notes (Stanford EE182) Michael Wahl 2000 lecture notes (U. of Siegen CS 3339) Ben Dugan 2001 lecture notes (UW-CSE 378) Professor Scott Hauck lecture notes (UW EE 471) Mark L. Chang lecture notes for Digital Logic (NWU B01) Texas Instruments Data Sheets

Today Review Approximation Hacks from Yesterday The ravages of time Latches, Flip Flops, Sandals

Its Log From lecture b0010: – 1 R=r^n = n R=r digits 1 R A Digit is ‘worth’ log RB R A Hex: R A = 16, R B = 2 – log 2 (16) = 4 – 1 Hex digit is ‘worth’ 4 binary digits

Its Log 24 binary digits ≈ 7 decimal digits – log 10 (2) * 24 ≈ … log 10 (2)≈ 0.3 log 2 (10)≈ 3.3 2^ ± 126 ≈ +/-10^ ± 38 – 126 *.3 ≈ … How many digits does 2^24 have in decimal?

6 Combinational Logic Design Process Understand the Problem – what is the circuit supposed to do? – write down inputs (data, control) and outputs – draw block diagram or other picture Formulate the Problem in terms of a truth table or other suitable design representation – truth table, Boolean algebra, etc. Choose Implementation Target – PAL, PLA, Mux, Decoder, Discrete Gates Follow Implementation Procedure – K-maps, Boolean algebra, algorithmic simplification

7 Combinational vs. Sequential Logic Combinational logic no feedback among inputs and outputs outputs are a pure function of the inputs e.g., seat belt light: (Dbelt, Pbelt, Passenger) mapped into (Light) Network implemented from logic gates. The presence of feedback distinguishes between sequential and combinational networks X 1 X 2 X n Logic Network Z 1 Z 2 Z m Logic Circuit Driver_belt Passenger_belt Passenger Seat Belt Light

8 Circuit Timing Behavior Simple model: gates react after fixed delay ABCDEFABCDEF A B C D E F

9 Circuit Timing Behavior Simple model: gates react after fixed delay ABCDEFABCDEF A B C D E F

10 Circuit can temporarily go to incorrect states Hazards/Glitches Copilot Autopilot Request Pilot Autopilot Request Pilot in Charge? Autopilot Engaged A B C CAR PIC PAR A B C AE Must filter out temporary states

11 Safe Sequential Circuits Clocked elements on feedback, perhaps outputs – Clock signal synchronizes operation – Clocked elements hide glitches/hazards Clock X 1 X 2 X n Logic Network Z 1 Z 2 Z m Clock Data Valid Compute Valid Compute

A what-ed wholement? Clocked or Enabled Elements – Flip Flops and Latches “Hold on” to state until triggered to update. Many kinds

Vocab! Setup – Required stability before Hold – Required stability after Propagation Delay – Until outputs update

Reinventing the SR Latch “SR” for “Set Reset” Cross-coupled NOR/NAND SRQ Next

Reinventing the SR Latch “SR” for “Set Reset” Cross-coupled NOR/NAND SRQ Next 00Q X

SR Latch Timing S R Q Q ̅

Design Time! Invent new types of latches by adding control logic around a SR or S ̅R̅ latch Treat the SR as a magic box Create a truth table to translate your requirements to the SR’s inputs

Boreds Gated SR latch – Inputs “work” only while Enable is True – When Enable is false, S/R have no effect Design a Gated D Latch – One Data input instead of Set Reset. – Output follows input while enabled – When Enable is false, Output holds last value Smallest design? Fastest? Weirdest?

You promised a Flop Confusing vocab – they are similar A latch is typically enabled A Flip Flop is typically Clocked All are forms of ‘Bistable Multivibrators’

Master Slave D-Flip Flop Two D-Latches in series with opposite polarity Enable lines Pulse Triggered – Capture on one edge – Display on the other Basis of Shift Registers – “Bucket Brigade”

Edge Triggered D-Flip Flop One Data Input CLOCK input, not enable Captures and Displays on the same edge Constructed from 3 SR latches

Edge Triggered D-Flip Flop

Other Flops Ternary: Flip-Flap-Flop. T Flip Flop – Toggles on each clock strobe – Good for cutting frequency in half JK Flip Flop – Clocked SR flip flop that also supports toggling

Common Uses In between processing stages “Debounce” inputs – Hide external noise / uncertainty from the inputs Synchronization