ECED2200 – Digital Circuits Time Response & Hazards 18/07/2012 Colin O’Flynn - CC BY-SA 1
General Notes • See updates to these slides: www.newae.com/teaching • These slides licensed under ‘ Creative Commons Attribution-ShareAlike 3.0 Unported License ’ • These slides are not the complete course – they are extended in-class • You will find the following references useful, see www.newae.com/teaching for more information/links: – The book “Bebop to the Boolean Boogie” which is available to Dalhousie Students – Course notes (covers almost everything we will discuss in class) – Various websites such as e.g.: www.play-hookey.com – The book “Contemporary Logic Design”, which was used in previous iterations of the class and you may have already 18/07/2012 Colin O’Flynn - CC BY-SA 2
Time Response of Gates 18/07/2012 Colin O’Flynn - CC BY-SA 3
NOT Gate Y=A A Y 0 1 1 0 18/07/2012 Colin O’Flynn - CC BY-SA 4
NOT Gate Y=A A Y 0 1 1 0 18/07/2012 Colin O’Flynn - CC BY-SA 5
Time Response Source: http://www.nxp.com/documents/data_sheet/74HC_HCT00.pdf 18/07/2012 Colin O’Flynn - CC BY-SA 6
Typical Values 74F00: 74HC00: 74LS00: 18/07/2012 Colin O’Flynn - CC BY-SA 7
USEFUL GATE DELAYS 18/07/2012 Colin O’Flynn - CC BY-SA 8
Pulse Shaper A B C D Y 18/07/2012 Colin O’Flynn - CC BY-SA 9
Ring Oscillator A B C D Y 18/07/2012 Colin O’Flynn - CC BY-SA 10
NOT-SO-USEFUL GATE DELAYS 18/07/2012 Colin O’Flynn - CC BY-SA 11
Glitches 18/07/2012 Colin O’Flynn - CC BY-SA 12
Hazards • Circuits with potential for a glitch have a hazard 18/07/2012 Colin O’Flynn - CC BY-SA 13
Types of Hazards Static 1-Hazard Static 0-Hazard Dynamic Hazard 18/07/2012 Colin O’Flynn - CC BY-SA 14
What Creates Hazards? • Single-bit (variable) input changes only! 18/07/2012 Colin O’Flynn - CC BY-SA 15
Analyzing Hazards & Fixing Them f A B+B C A•B•C A•B•C A•B•C A•B•C A•B•C A•B•C A•B•C A•B•C 18/07/2012 Colin O’Flynn - CC BY-SA 16
Hazard Free Form 18/07/2012 Colin O’Flynn - CC BY-SA 17
Other Hazards? In two-level networks (assuming complements are available) synthesized in sum-of-product form, removal of state 1-hazard means static 0- hazards and dynamic hazards also removed. 18/07/2012 Colin O’Flynn - CC BY-SA 18
Multilevel Hazards 1. Simplify using some basic Boolean laws to get to two-level form – CANNOT use complement laws or simplification laws derived from it 2. Using K-Map derive hazard-free form 3. Do not convert back into multilevel form – difficult to remove dynamic hazards 18/07/2012 Colin O’Flynn - CC BY-SA 19
Example f=A•B•C+(A+D)•(A+C) f=A•B•C+A•A+A•C+D•A+D•C 18/07/2012 Colin O’Flynn - CC BY-SA 20
Example f=A•B•C+A•A+A•C+D•A+D•C A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D A•B•C•D 18/07/2012 Colin O’Flynn - CC BY-SA 21
References See class notes “Hazards” 18/07/2012 Colin O’Flynn - CC BY-SA 22
Recommend
More recommend