19
hapter 6 – Digital Electronics hapter 6 – Digital Electronics – Part 1 – 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 Information Registers Registers

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

Embed Size (px)

DESCRIPTION

Flip flips store data on a rising or falling trigger edge. –Example: control input transitions from 0  1, data input appears at output –Data remains stable in the flip flop until next rising edge. Data Storage Lo-Hi Lo-Hi edge Hi-Lo Hi-Lo edge

Citation preview

Page 1: 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

Chapter 6 – Digital ElectronicsChapter 6 – Digital Electronics – Part 1– Part 1

1. D (Data) Flip Flops2. RS (Set-Reset) Flip Flops3. T Flip Flops4. JK Flip Flops5. JKMS Flip Flops

InformationInformation Registers Registers

Page 2: 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

Flip-flop

1) may also refer to the bistable multivibrator, a circuit with two stable states (output).

2) Flip flips are used to store data (or information).

3) Different types of flip flops serve different functions.

4) Flip flops can be defined with characteristic functions.

Page 3: 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

• Flip flips store data on a rising or falling trigger edge.– Example: control input transitions from 0 1,

data input appears at output– Data remains stable in the flip flop until next

rising edge.

Data Storage

Lo-HiLo-Hi edgeHi-LoHi-Lo edge

Page 4: 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

A clock is a circuit that outputs 0’s and 1’s at specific frequencies

A clock

Page 5: 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

Latches FF

Latches are Level Sensitive

Out put is constantly affected by the input as long as enable is assertive.When enabled, their content changes immediately when input changes.

sensitive to the duration of pulse and can transfer data until they are switched on.

used as temporary buffers.

One latch stores one bit of informationMain types of latches are SR, D, JK, and T.

Flip-Flops are Edge Sensitive.

Content changes only either At the rising or falling edge of the enable signal.Enable signal is usually the controlling clock signal.

sensitive to signal change (low to high or high to low) and not the level.

used as registers. 

One FF stores one bit of informationMain types of flip flops are SR, D, JK, and T.

Latches and Flip Flops A clock

Page 6: 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

The outputs of any single-bit latch or memory are traditionally designated Q and Q'. In a commercial latch circuit, either or both of these may be available for use by other circuits. In any case, the circuit itself is:

                                                                                   1) The Basic RS Latch

NAND Latch

Page 7: 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
Page 8: 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

NOR Latch

Page 9: 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

The Clocked RS NAND Latch

Page 10: 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

The Edge-Triggered RS Flip-Flop

Symbols

Page 11: 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

The D Latch & Flip Flop

0 1 0 11 1 1 0X 0 Q0 Q0

D C Q Q

When C is high, D passes from input to output (Q).

Lo-HiLo-Hi edgeHi-LoHi-Lo edge

Page 12: 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

The D Flip-Flop

Page 13: 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

C

D Q

Q’0 0 11 1 0X 0 Q0 Q0’

D C Q Q’

Positive edge triggered

D Flip-Flop

D gets latched to Q on the rising edge of the clock.

Page 14: 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
Page 15: 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

The JK Flip-Flop

Symbols

Page 16: 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

• Flip flops are powerful storage elements– They can be constructed from gates and latches!

• D flip flop is simplest and most widely used• Asynchronous inputs allow for clearing and presetting the

flip flop output• Multiple flops allow for data storage

– The basis of computer memory!• Combine storage and logic to make a computation circuit• Next time: Analyzing sequential circuits.

Page 17: 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

Random-Access Memory

Can read and write at any point in memoryImplemented using D Flip-Flops

Register

Used to hold one item of informationCPU’s have many registers

Clocks

A clock is a circuit that outputs 0’s and 1’s at specific frequencies

Page 18: 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

Negative-Edge-Triggered T Flip-Flop

PRE

C LR

Q

QT

(a ) (b )

V C

C

PRE

CLR

Q

QC

J

K

Page 19: 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

Latch and Flip-flop Timing

S et

R e se t

(a )

(b )

C lo ck

Q

S e t

R ese t

Q