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,

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
K-Maps, Timing Sequential Circuits: Latches & Flip-Flops Lecture 4 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier,
Digital Logic Circuits (Part 2) Computer Architecture Computer Architecture.
Digital Logic Design Lecture 22. Announcements Homework 7 due today Homework 8 on course webpage, due 11/20. Recitation quiz on Monday on material from.
1 Combinational Logic Network design Chapter 4 (continued ….)
Synchronous Digital Design Methodology and Guidelines
1 Digital Design: State Machines Timing Behavior Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth, Fundamentals.
RTL Hardware Design by P. Chu Chapter 161 Clock and Synchronization.
CS 151 Digital Systems Design Lecture 25 State Reduction and Assignment.
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
Digital Design: Chapters Chapter 1. Introduction Digital Design - Logic Design? Analog versus Digital Once-analog now goes digital –Still pictures.
David Culler Electrical Engineering and Computer Sciences
Asynchronous Machines
EE365 Adv. Digital Circuit Design Clarkson University Lecture #6
1 Exact Two-Level Minimization of Hazard-Free Logic with Multiple Input Changes Montek Singh Tue, Oct 16, 2007.
ECE C03 Lecture 61 Lecture 6 Delays and Timing in Multilevel Logic Synthesis Prith Banerjee ECE C03 Advanced Digital Design Spring 1998.

Hazard.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
CS 151 Digital Systems Design Lecture 32 Hazards
Contemporary Logic Design Sequential Logic © R.H. Katz Transparency No Chapter #6: Sequential Logic Design Sequential Switching Networks.
ENGIN112 L25: State Reduction and Assignment October 31, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 25 State Reduction and Assignment.
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.
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.
Digital Logic Design Lecture # 7 University of Tehran.
DIGITAL SYSTEMS Logic design practice Rudolf Tracht and A.J. Han Vinck.
Module 2 : Behavioral modeling TOPIC : Modeling a Digital pulse UNIT 1: Modeling and Simulation.
© BYU 18 ASYNCH Page 1 ECEn 224 Handling Asynchronous Inputs.
Glitches/Hazards and ALUs
Unit 8 Combinational Circuit Design and Simulation Using Gates Fundamentals of Logic Design by Roth and Kinney.
Timing Diagrams Shows signal state (1 or 0) as a function of time Dependent variable (horizontal axis) used for time Independent variable (vertical axis)
Nonlinear & Neural Networks LAB. CHAPTER 8 Combinational Circuit design and Simulation Using Gate 8.1Review of Combinational Circuit Design 8.2Design of.
Lecture 11 Timing diagrams Hazards.
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.
IAY 0600 Digital Systems Design Timing and Post-Synthesis Verifications Hazards in Combinational Circuits Alexander Sudnitson Tallinn University of Technology.
Circuit Analyze  Combinational or Sequential logic schematics show the circuit’s hardware implementation and give us some knowledge about the functions.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
©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.
EECE 320 L8: Combinational Logic design Principles 1Chehab, AUB, 2003 EECE 320 Digital Systems Design Lecture 8: Combinational Logic Design Principles.
©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.
Digital Design: Sequential Logic Principles
IAY 0600 Digital Systems Design
Chapter #6: Sequential Logic Design
Lecture 11 Logistics Last lecture Today HW4 due on Wednesday PLDs
Topic7: Timing Hazards José Nelson Amaral
Lecture 8 Combinational Network Design and Issues
ECE 434 Advanced Digital System L03
Hazard.
触发器 Flip-Flops 刘鹏 浙江大学信息与电子工程学院 March 27, 2018
IAY 0800 Digitaalsüsteemide disain
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.
Introduction to Digital Systems
Elec 2607 Digital Switching Circuits
Hazard-free Karnaugh Map Minimisation
Elec 2607 Digital Switching Circuits
Chapter 3 Overview • Multi-Level Logic
Hazard-free Karnaugh Map Minimisation
SEQUENTIAL CIRCUITS __________________________________________________
ECE 331 – Digital System Design
Presentation transcript:

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, Fundamentals of Logic Design, 5/e, Thomson, 2004 R.H. Katz, G. Borriello, Contemporary Logic Design, Prentice Hall, 2005 D. Harris, S. Harris, Digital Logic and Computer Architecture, Elsevier, 2007

2 Gate Delays When the input to a logic gate is changed, the output will not change immediately. The switching elements within a gate take a finite time to react to a change (transition) in input. As a result the change in the gate output is delayed w.r.t. to the input change. Such delay is called the propagation delay of the logic gate (t p ) The propagation delay for a 0 to 1 output change (t pLH ) may be different than the delay for a 1 to 0 change (t pHL ).

3 Gate Delays (cont’d) Digital signal:

4 Terms to express timing gate delay — time for change at input to cause change at output min delay – typical/nominal delay – max delay careful designers design for both worst case and best case rise time — time for output to transition from low to high voltage fall time — time for output to transition from high to low voltage pulse width — time that an output stays high or stays low between changes

5 Timing Diagrams (Waveforms)

6 What is the effect of gate delays ? The analysis of combinational circuits ignoring delays can predict only the steady-state behavior of a circuits. That is they predict a circuit’s output as a function of its inputs under the assumption that the inputs have been stable for a long time, relative to the delays into the circuit’s electronics. Because of circuit delays, the transient behavior of a combinational logic circuit may differ from what is predicted by a steady-state analysis. In particular a circuit’s output may produce a short pulse (often called a glitch) at a time when steady state analysis predicts that the output should not change.

7 Glitches and Hazards A glitch is an unwanted pulse at the output of a combinational logic network – a momentary change in an output that should not have changed. A circuit with the potential for a glitch is said to have a hazard. In other words a hazard is something intrinsic about a circuit; a circuit with hazard may or may not have a glitch depending on input patterns and the electric characteristics of the circuit.

8 When do circuits have hazards ? Hazards are potential unwanted transients that occur in the output when different paths from input to output have different propagation delays.

9 Types of Hazards (on an output)

10 Detection of Static 1-hazards 1-hazard

11 Removing static hazards The fundamental strategy for eliminating an hazard is to add redundant prime implicants (extra prime implicants won’t change F, but can cause F to be asserted independently of the change to the input that cause the hazard). A = 0 B = 1  0 C = 0 1  0 0  circuit with hazard removed

12 Detection of static 0-hazards 0-hazard (one of four)

13 Removing the static hazard

14 Static Hazards A properly designed two level AND-OR circuit has no static 0-hazards. A static 0-hazard would exist only if both a variable and its complement were connected to the same AND gate, which would be a nonsense (A  A’  X=0) A properly designed two level OR-AND circuit has no static 1-hazards. A static 1-hazard would exist only if both a variable and its complement were connected to the same OR gate, which would be a nonsense (A+A’+X=1)

15 Dynamic Hazards If there are 3 or more paths from an input or its complement to the output the circuit has the potential for a dynamic hazard. Three or more paths from an input or its complement to the output can exist only in a multi-level networks. This means that dynamic hazards do not occur in a properly designed two level AND-OR or OR-AND network. Analysis and elimination of dynamic hazards is a rather complicated process. If you need a hazard free network, it is best to use a 2-level network and use the techniques shown earlier to eliminate the static hazards.

16 Dynamic hazard example slow very slow \A B \B \C A \B 1 0101 101 01 F

17 Hazard-Free Design Best way to deal with hazards: structure the design so that you do not have to worry about them !!! A well-designed, synchronous digital system is structured so that hazard analysis is not needed In a synchronous system, all the inputs to a combinational circuit are changed at a particular time, and the outputs are not looked at until they have time to settle to a steady-state value.