0% found this document useful (0 votes)
21 views14 pages

Flip Flops: Prof. Jagannadha Naidu K

Flip flops are used to store data on the rising or falling edge of a clock signal. There are different types of flip flops like D, J-K, and T flip flops that serve different functions. A flip flop stores a single bit of data and the output only changes on a clock transition. Multiple flip flops can be used together to store multiple bits of data in parallel. Asynchronous inputs allow a flip flop's output to be directly set or cleared regardless of the clock.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views14 pages

Flip Flops: Prof. Jagannadha Naidu K

Flip flops are used to store data on the rising or falling edge of a clock signal. There are different types of flip flops like D, J-K, and T flip flops that serve different functions. A flip flop stores a single bit of data and the output only changes on a clock transition. Multiple flip flops can be used together to store multiple bits of data in parallel. Asynchronous inputs allow a flip flop's output to be directly set or cleared regardless of the clock.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Flip Flops

Prof. Jagannadha Naidu K


Overview
 Latches respond to trigger levels on control inputs
 Example: If G = 1, input reflected at output

 Difficult to precisely time when to store data with latches


 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 until next rising

edge.
 Different types of flip flops serve different functions
 Flip flops can be defined with characteristic functions.
Clocking Event
What if the output only changed on a C transition?

Positive edge triggered

D C Q Q’
D Q 0 0 1

C Q’ 1 1 0

X 0 Q0 Q0’

Hi-Lo edge Lo-Hi edge


Master-Slave D Flip Flop
 Consider two latches combined together
 Only one C value active at a time
 Output changes on falling edge of the clock
Clocked D Flip-Flop
 Stores a value on the positive edge of C
 Input changes at other times have no effect on output
Positive and Negative Edge D Flip-Flop
 D flops can be triggered on positive or negative edge
 Bubble before Clock (C) input indicates negative edge
trigger

Lo-Hi edge Hi-Lo edge


Positive Edge-Triggered J-K Flip-Flop

J K CLK Q Q’
Created from D flop
J sets 00 ­ Q0 Q0’
K resets 01 ­ 0 1
J=K=1 -> invert output 10 ­ 1 0
11 ­
TOGGLE
Clocked J-K Flip Flop
Two data inputs, J and K
J -> set, K -> reset, if J=K=1 then toggle output

Characteristic Table
Positive Edge-Triggered T Flip-Flop

Created from D flop T C Q Q’


T=0 -> keep current
K resets 0 ­ Q 0 Q0’
T=1 -> invert current 1­ TOGGLE
Asynchronous Inputs
• J, K are synchronous inputs
o Effects on the output are synchronized with the CLK input.
• Asynchronous inputs operate independently of the synchronous inputs
and clock
o Set the FF to 1/0 states at any time.
Asynchronous Inputs
Asynchronous Inputs

• Note reset signal (R) for


D flip flop
• If R = 0, the output Q is
cleared
•This event can occur at
any time, regardless of the
value of the CLK
Parallel Data Transfer
 Flip flops store outputs from combinational logic
 Multiple flops can store a collection of data
Summary
 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

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy