Lecture 11 Timing diagrams Hazards.

Slides:



Advertisements
Similar presentations
CS370 – Spring 2003 Hazards/Glitches. Time Response in Combinational Networks Gate Delays and Timing Waveforms Hazards/Glitches and How To Avoid Them.
Advertisements

ECE C03 Lecture 71 Lecture 7 Delays and Timing in Multilevel Logic Synthesis Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
Glitches & Hazards.
ECE 3110: Introduction to Digital Systems
Boolean Algebra and Reduction Techniques
1 Combinational Logic Network design Chapter 4 (continued ….)
ECE 331 – Digital System Design
Contemporary Logic Design Multi-Level Logic © R.H. Katz Transparency No Chapter # 3: Multi-Level Combinational Logic 3.3 and Time Response.
Chapter # 3: Multi-Level Combinational Logic
EECC341 - Shaaban #1 Lec # 8 Winter Combinational Logic Circuit Transient Vs. Steady-state Output Gate propagation delay: The time between.
Give qualifications of instructors: DAP
Asynchronous Sequential Logic
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
Chapter 3 Simplification of Switching Functions
1 Exact Two-Level Minimization of Hazard-Free Logic with Multiple Input Changes Montek Singh Tue, Oct 16, 2007.
Give qualifications of instructors: DAP
ECE C03 Lecture 61 Lecture 6 Delays and Timing in Multilevel Logic Synthesis Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.

CS 151 Digital Systems Design Lecture 32 Hazards
A hazard is said to exist when a circuit has the possibility of producing such a glitch. 4.4 Timing Hazards ReturnNext Because of circuit delays, the transient.
AOI Logic Implementation © 2014 Project Lead The Way, Inc.Digital Electronics.
Unit 8 Combinational Circuit Design and Simulation Using Gates Ku-Yaw Chang Assistant Professor, Department of Computer Science.
ECE 331 – Digital System Design Power Dissipation and Additional Design Constraints (Lecture #14) The slides included herein were taken from the materials.
Overview Part 2 – Circuit Optimization 2-4 Two-Level Optimization
AOI Logic Implementation
Digital Logic Design Lecture # 7 University of Tehran.
2-Level Minimization Classic Problem in Switching Theory
ECE 331 – Digital System Design
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF
The covering procedure. Remove rows with essential PI’s and any columns with x’s in those rows.
1 Digital Design: Time Behavior of Combinational Networks Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth,
2-Level Minimization Classic Problem in Switching Theory Tabulation Method Transformed to “Set Covering Problem” “Set Covering Problem” is Intractable.
Glitches/Hazards and ALUs
Unit 8 Combinational Circuit Design and Simulation Using Gates Fundamentals of Logic Design by Roth and Kinney.
1 K-Maps, Multi-level Circuits, Time Response Today: Reminder: Test #1, Thu 7-9pm K-map example, espressoFirst Hour: K-map example, espresso –Section 2.3.
Chapter 2 Digital Design and Computer Architecture, 2 nd Edition Chapter 2 David Money Harris and Sarah L. Harris.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Mon, Oct 5 CEC 220 Digital Circuit Design Slide 1 of 20.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers Friday, February 14 CEC 220 Digital Circuit Design Slide 1 of 18.
CEC 220 Digital Circuit Design Timing Diagrams, MUXs, and Buffers
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
Boolean Algebra and Reduction Techniques
Lecture 3. Combinational Logic 2 Prof. Taeweon Suh Computer Science Education Korea University 2010 R&E Computer System Education & Research.
Boolean Expressions Lecture 3 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007.
CEC 220 Digital Circuit Design NAND/NOR Multi-Level Circuits
 Seattle Pacific University EE Logic System DesignKMaps-1 Two-Level Simplification All Boolean expressions can be represented in two- level forms.
Timing Behavior of Gates
ECE 171 Digital Circuits Chapter 9 Hazards Herbert G. Mayer, PSU Status 2/21/2016 Copied with Permission from prof. Mark PSU ECE.
ECE 301 – Digital Electronics Minimizing Boolean Expressions using K-maps, The Minimal Cover, and Incompletely Specified Boolean Functions (Lecture #6)
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
Combinational Logic Analysis. Basic Combinational Logic Circuits AND-OR logic AND-OR logic AND-OR logic produces an SOP expression. AND-OR logic produces.
Chapter 3 Simplification of Switching Functions. Simplification Goals Goal -- minimize the cost of realizing a switching function Cost measures and other.
1 CS 352 Introduction to Logic Design Lecture 4 Ahmed Ezzat Multi-level Gate Circuits and Combinational Circuit Design Ch-7 + Ch-8.
Lecture 3. Combinational Logic #2 Prof. Taeweon Suh Computer Science & Engineering Korea University COSE221, COMP211 Logic Design.
©2010 Cengage Learning SLIDES FOR CHAPTER 8 COMBINATIONAL CIRCUIT DESIGN AND SIMULATION USING GATES Click the mouse to move to the next page. Use the ESC.
1 Digital Design Debdeep Mukhopadhyay Associate Professor Dept of Computer Science and Engineering NYU Shanghai and IIT Kharagpur.
©2010 Cengage Learning SLIDES FOR CHAPTER 8 COMBINATIONAL CIRCUIT DESIGN AND SIMULATION USING GATES Click the mouse to move to the next page. Use the ESC.
Chapter 5 Combinational Logic 组合逻辑
Lecture 11 Logistics Last lecture Today HW4 due on Wednesday PLDs
K-map: Product-of-Sums Minimization
Lecture 8 Combinational Network Design and Issues
Digital Logic Design 1st Exam Solution
ECE 434 Advanced Digital System L03
CPE/EE 422/522 Advanced Logic Design L02
Overview Last Lecture Conversion of two-level logic to NAND or NOR forms Multilevel logic AOI and OAI gates Today Timing and hazards Multiplexers and demultiplexers.
Digital Logic & Design Dr. Waseem Ikram Lecture 13.
Lecture 13 Logistics Last lecture Today HW4 up, due on Wednesday PLDs
Introduction to Digital Systems
Chapter 3 Overview • Multi-Level Logic
Hazard-free Karnaugh Map Minimisation
Presentation transcript:

Lecture 11 Timing diagrams Hazards

Timing diagrams (waveforms) Shows time-response of circuits Like a sideways truth table Example: F = A + BC

Timing diagrams Real gates have real delays Example: A' • A = 0? Delays cause transient F=1 F A B C D time width of 3 gate delays

F = A + BC in 2-level logic canonical sum-of-products minimized sum-of-products F2 canonical product-of-sums F3 minimized product-of-sums F4

Timing diagram for F = A + BC Time waveforms for F1 – F4 are identical except for glitches

Hazards and glitches glitch: unwanted output A circuit with the potential for a glitch has a hazard. Glitches occur when different pathways have different delays Causes circuit noise Dangerous if logic makes a decision while output is unstable

Hazards and glitches Solutions Design hazard-free circuits Difficult when logic is multilevel Wait until signals are stable

Types of hazards Static 1-hazard Static 0-hazard Dynamic hazards Output should stay logic 1 Gate delays cause brief glitch to logic 0 Static 0-hazard Output should stay logic 0 Gate delays cause brief glitch to logic 1 Dynamic hazards Output should toggle cleanly Gate delays cause multiple transitions 1 1 1 1

Static hazards Often occurs when a literal and its complement momentarily assume the same value Through different paths with different delays Causes an (ideally) static output to glitch

Static hazards A multiplexer A B S A S F static-0 hazard S' B F S'

Timing diagram for F = A + BC

F = A + BC in 2-level logic 1 C B A canonical product-of-sums F3

Timing diagram for F = A + BC

F = A + BC in 2-level logic 1 C 1 canonical sum-of-products B F1 1 A

Dynamic hazards Often occurs when a literal assumes multiple values Through different paths with different delays Causes an output to toggle multiple times Dynamic hazards

Dynamic hazards A C 3 A F 2 B B1 1 Dynamic hazard B2 C B3 F

Eliminating static hazards Key idea: Glitches happen when a changing input spans separate K-map encirclements Example: 1101 to 0101 change can cause a static-1 glitch 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 AB CD B D 00 01 11 10 C A

Eliminating static hazards ABCD: 1101  0101 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 AB CD B D 00 01 11 10 C A F = AC' + A'D 1 1 1 1 A C' F 1 1 A' D 1

Eliminating static hazards Solution: Add redundant K-map encirclements Ensure that all single-bit changes are covered by same block First eliminate static-1 hazards: Use SOP form If need to eliminate static-0 hazards, use POS form Technique only works for 2-level logic

Eliminating static hazards F = AC' + A'D + C'D AB CD 00 01 11 10 00 0 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 A C' 01 D A' D F 11 C C' 10 D B

Summary of hazards We can eliminate static hazards in 2-level logic for single-bit changes Eliminating static hazards also eliminates dynamic hazards Hazards are a difficult problem Multiple-bit changes in 2-level logic are hard Static hazards in multilevel logic are harder Dynamic hazards in multilevel logic are harder yet