Top Banner
EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts Part 3
28

Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Nov 15, 2019

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

EMT 235 DIGITAL PRINCIPLES II

Chapter 1:

Digital Design Concepts

Part 3

Page 2: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Timing Response/ Glitches

Page 3: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 4: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 5: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 6: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 7: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 8: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 9: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 10: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 11: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 12: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 13: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 14: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts
Page 15: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Glitch

A glitch is any undesired (unwanted)

voltage or current spike (pulse) of

very short duration.

Happens at extremely short duration.

A glitch can be wrongly interpreted as

a valid signal by a logic circuit and

can cause incorrect system operation.

Page 16: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

The 74HC138 used as a

3-to-8-line Decoder

conSiDer …

Page 17: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Figure 6.62 Decoder waveforms with output

glitches.

Page 18: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Figure 6.63 Decoder waveform displays showing how transitional input states produce

glitches in the output waveforms.

Page 19: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Figure 6.64 Application of a strobe waveform to eliminate glitches

on decoder outputs.

Page 20: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

A Two-phase Clock

Generator

conSiDer …

Page 21: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Figure 7.62 Two-phase clock generator with ideal waveforms

Page 22: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Figure 7.63 Oscilloscope displays for the

circuit in Figure 7–62.

Glitch caused by a “race” problem between

the CLK signal and the Q and Qbar signals

Page 23: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Figure 7.64 Two-phase clock generator using negative edge-triggered

flip-flop to eliminate glitches.

Page 24: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

An Asynchronous

Decade Counter

conSiDer …

Page 25: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved Floyd, Digital Fundamentals, 10th ed

Asynchronous Decade Counter

This counter uses partial decoding to recycle the count sequence to zero after the 1001 state. The flip-flops are trailing-edge triggered, so clocks are derived from the Q outputs. Other truncated sequences can be obtained using a similar technique.

Waveforms are on the following slide…

CLK

K0

J0

Q0

C C C

J1 J2

K1 K2

Q1 Q2

HIGH

C

J3

K3

Q3

CLR

Page 26: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved Floyd, Digital Fundamentals, 10th ed

Asynchronous Decade Counter

When Q1 and Q3 are HIGH together, the counter is cleared by a “glitch” on the CLR line.

1 2 3 4 5 6 7 8 9 10

Glitch

Glitch

CLK

Q0

Q1

Q2

Q3

CLR

Glitch

Glitch

Page 27: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Glitch & Hazard

Glitch

A short pulse (like spikes), which may

be produced in a circuit’s output, at a

time that the output should not

change.

Hazard

Exist when a circuit has the possibility

of producing glitches.

Page 28: Chapter 1: Digital Design Concepts Part 3portal.unimap.edu.my/portal/page/portal30/Lecture Notes/KEJURUTERAAN... · EMT 235 DIGITAL PRINCIPLES II Chapter 1: Digital Design Concepts

Hazards

Can happen in:

Combinational circuits

Asynchronous sequential circuits

=> Will need hazard analysis & elimination

Cannot happen in:

Well-designed synchronous circuits.