SlideShare a Scribd company logo
Unit-2
Flip flop and De-Mux
What is a Demultiplexer (DEMUX)?
• A DEMUX is a digital switch
with a single input (source) and
a multiple outputs
(destinations).
• The select lines determine
which output the input is
connected to.
• DEMUX Types
 1-to-2 (1 select line)
 1-to-4 (2 select lines)
 1-to-8 (3 select lines)
 1-to-16 (4 select lines)
2
Demultiplexer
Block Diagram
Select
Lines
Input
(source)
Outputs
(destinations)
2N
1
N
DEMUX
Typical Application of a DEMUX
3
Single Source Multiple Destinations
Selector
D0
D1
D2
D3
X
DEMUX
B A Selected Destination
0 0 B/W Laser Printer
0 1 Fax Machine
1 0 Color Inkjet Printer
1 1 Pen Plotter
B/W Laser
Printer
Color Inkjet
Printer
Pen
Plotter
Fax
Machine
1-to-4 De-Multiplexer (DEMUX)
4
B A D0 D1 D2 D3
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1
D0
D1
D2
D3
X
B A
DEMUX
5
6
Sequential Circuits
• Synchronous sequential circuits employ
signal that affect the storage elements only at
discrete instant of time.
• Synchronization is achieved by a timing
device called a clock pulse generator that
produces a periodic train or clock pulses.
• The storage elements employed in clocked
sequential circuits are called flip-flop.
7
Sequential Circuits
• As the name implies, sequential logic circuits require
a means by which events can be sequenced.
• State changes are controlled by clocks.
– A “clock” is a special circuit that sends electrical pulses
through a circuit.
• Clocks produce electrical waveforms such as the
one shown below.
8
3.6 Sequential Circuits
• State changes occur in sequential circuits only
when the clock ticks.
• Circuits can change state on the rising edge,
falling edge, or when the clock pulse reaches its
highest voltage.
9
3.6 Sequential Circuits
• Circuits that change state on the rising edge, or
falling edge of the clock pulse are called edge-
triggered.
• Level-triggered circuits change state when the
clock voltage reaches its highest or lowest level.
Definition of Latch
• A latch is an electronic logic circuit that has
two inputs and one output. One of the inputs
is called the SET input; the other is called
the RESET input.
10
Latch
• Latch circuits can be either active-high or active-
low. The difference is determined by whether the
operation of the latch circuit is triggered by HIGH
or LOW signals on the inputs.
• Active-high circuit: Both inputs are normally tied
to ground (LOW), and the latch is triggered by a
momentary HIGH signal on either of the inputs.
• Active-low circuit: Both inputs are normally
HIGH, and the latch is triggered by a momentary
LOW signal on either input. 11
Active-high circuit
12
Active-low circuit
13
Flip flop
• A Flip flop is a binary cell capable or
storing one bit or information
• It has 2 outputs , zero & one;
• A flip-flop maintains a binary state until its
directed by a clock pulse to switch states.
• The difference among various types or FF is
in the no of inputs they posses and in the
manner in which the inputs affect the binary
state.
14
FF
• Flip-flops can be divided into common types:
• SR Flip Flop : Set/Reset Flip Flop
• D Flip Flop : Data Flip Flop to store Bit
• J‐K Flip Flop: SR with use of the
unavoidable SR=11 state to Toggle
• T Flip Flop: Toggle Flip Flop
15
16
3.6 Sequential Circuits
• SR flip-flop.
– The “SR” stands for set/reset.
• The internals of an SR flip-flop (latch) are shown below,
along with its block diagram.
• Arrow head shaped symbol is front of the letter C to
designate a dynamic i/p. It denotes that the FF responds to
a positive transition (from 0 to 1) of the i/p clock signal
17
3.6 Sequential Circuits
• The behavior of an SR flip-flop is described by
a characteristic table.
• Q(t) means the value of the output at time t.
Q(t+1) is the value of Q after the next clock
pulse.
18
3.6 Sequential Circuits
• The behavior of an SR flip-flop is described by
a characteristic table.
• Q(t) means the value of the output at time t.
Q(t+1) is the value of Q after the next clock
pulse.
19
3.6 Sequential Circuits
• The SR flip-flop actually
has three inputs: S, R,
and its current output, Q.
• Thus, we can construct
a truth table for this
circuit, as shown at the
right.
• Notice the two undefined
values. When both S
and R are 1, the SR flip-
flop is unstable.
20
3.6 Sequential Circuits
• The SR flip-flop can be modified to provide a
stable state when both inputs are 1.
• This modified flip-flop is
called a JK flip-flop,
shown at the right.
- The “JK” is in honor of
Jack Kilby.
21
3.6 Sequential Circuits
• At the right, we see
how an SR flip-flop
can be modified to
create a JK flip-flop.
• The characteristic
table indicates that
the flip-flop is stable
for all inputs.
• J input is equivalent to the S(set) input of
the SR and the K input is equal to the R
(Clear) input.
• Instead of the indeterminate condition the
JK flip flop has a complement condition
Q(t+1)=Q’(t) when both JK=1;
22
23
3.6 Sequential Circuits
• Another modification of the SR flip-flop is the D flip-
flop, shown below with its characteristic table.
• An SR FF is converted to a D FF by inserting an
inverter between S and R and assigning the Symbol
D to the single input.
• If D=1,the o/p of the FF goes to 1; If D=0,the o/p of
the FF goes to 0;
24
3.6 Sequential Circuits
• The D flip-flop is the fundamental circuit of
computer memory.
– The advantage of D FF is only one i/p;
– The disadvantage is doesn’t have “No change”
condition
Q(t+1)=Q(t)
Sequential Circuits
25
• T FF ,obtained by inputs J and K connected
to provide a single i/p designated by T.
• When T=0( J=K=0) a clock transition does
not change the state of the FF;
• When T=1( J=K=1) a clock transition does
complements the state of the FF;
26
Master Slave Flip Flop
• Consist of two Flip-flops. First responds to
the positive level of the clock(Master),The
second (Slave) which responds to the
negative level of the clock.
27
28
29
30
31
32
33
34
35

More Related Content

Similar to flip flop 13.ppt

BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
DHANESHRKNAIR01
 
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptxSequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
AhmedAlAfandi5
 

Similar to flip flop 13.ppt (20)

DLD Chapter-5.pdf
DLD Chapter-5.pdfDLD Chapter-5.pdf
DLD Chapter-5.pdf
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Unit 4 sequential circuits
Unit 4  sequential circuitsUnit 4  sequential circuits
Unit 4 sequential circuits
 
Flip flop
Flip flopFlip flop
Flip flop
 
Unit IV version I.ppt
Unit IV version I.pptUnit IV version I.ppt
Unit IV version I.ppt
 
Flip flop
Flip flopFlip flop
Flip flop
 
BEEE FLIP FLOP & REGISTERS
BEEE FLIP FLOP & REGISTERSBEEE FLIP FLOP & REGISTERS
BEEE FLIP FLOP & REGISTERS
 
BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)BE PPT (FLIP FLOPS)
BE PPT (FLIP FLOPS)
 
DLD4.pdf
DLD4.pdfDLD4.pdf
DLD4.pdf
 
Flip & flop by Zaheer Abbas Aghani
Flip & flop by Zaheer Abbas AghaniFlip & flop by Zaheer Abbas Aghani
Flip & flop by Zaheer Abbas Aghani
 
Introduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptxIntroduction to flipflops basic of elctronics COA.pptx
Introduction to flipflops basic of elctronics COA.pptx
 
unit 5.pptx
unit 5.pptxunit 5.pptx
unit 5.pptx
 
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
2 bit comparator, 4 1 Multiplexer, 1 4 Demultiplexer, Flip Flops and Register...
 
latchesandflipflops.ppt
latchesandflipflops.pptlatchesandflipflops.ppt
latchesandflipflops.ppt
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the student
 
Digital design slides for engineering
Digital  design   slides for engineeringDigital  design   slides for engineering
Digital design slides for engineering
 
Coa presentation2
Coa presentation2Coa presentation2
Coa presentation2
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptxSequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
Sequential Circuitsdddddddddddddddddsssssssssss-ppt.pptx
 
B sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuitB sc cs i bo-de u-iv sequential circuit
B sc cs i bo-de u-iv sequential circuit
 

Recently uploaded

Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
Kamal Acharya
 
School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
Kamal Acharya
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
AbrahamGadissa
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 

Recently uploaded (20)

Pharmacy management system project report..pdf
Pharmacy management system project report..pdfPharmacy management system project report..pdf
Pharmacy management system project report..pdf
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge2024 DevOps Pro Europe - Growing at the edge
2024 DevOps Pro Europe - Growing at the edge
 
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdfONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
ONLINE CAR SERVICING SYSTEM PROJECT REPORT.pdf
 
Hall booking system project report .pdf
Hall booking system project report  .pdfHall booking system project report  .pdf
Hall booking system project report .pdf
 
Furniture showroom management system project.pdf
Furniture showroom management system project.pdfFurniture showroom management system project.pdf
Furniture showroom management system project.pdf
 
School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturing
 
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWINGBRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
BRAKING SYSTEM IN INDIAN RAILWAY AutoCAD DRAWING
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
Arduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectArduino based vehicle speed tracker project
Arduino based vehicle speed tracker project
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data StreamKIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
 
A case study of cinema management system project report..pdf
A case study of cinema management system project report..pdfA case study of cinema management system project report..pdf
A case study of cinema management system project report..pdf
 
AI for workflow automation Use cases applications benefits and development.pdf
AI for workflow automation Use cases applications benefits and development.pdfAI for workflow automation Use cases applications benefits and development.pdf
AI for workflow automation Use cases applications benefits and development.pdf
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
 
shape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptxshape functions of 1D and 2 D rectangular elements.pptx
shape functions of 1D and 2 D rectangular elements.pptx
 

flip flop 13.ppt

  • 2. What is a Demultiplexer (DEMUX)? • A DEMUX is a digital switch with a single input (source) and a multiple outputs (destinations). • The select lines determine which output the input is connected to. • DEMUX Types  1-to-2 (1 select line)  1-to-4 (2 select lines)  1-to-8 (3 select lines)  1-to-16 (4 select lines) 2 Demultiplexer Block Diagram Select Lines Input (source) Outputs (destinations) 2N 1 N DEMUX
  • 3. Typical Application of a DEMUX 3 Single Source Multiple Destinations Selector D0 D1 D2 D3 X DEMUX B A Selected Destination 0 0 B/W Laser Printer 0 1 Fax Machine 1 0 Color Inkjet Printer 1 1 Pen Plotter B/W Laser Printer Color Inkjet Printer Pen Plotter Fax Machine
  • 4. 1-to-4 De-Multiplexer (DEMUX) 4 B A D0 D1 D2 D3 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 0 1 0 1 1 0 0 0 1 D0 D1 D2 D3 X B A DEMUX
  • 5. 5
  • 6. 6 Sequential Circuits • Synchronous sequential circuits employ signal that affect the storage elements only at discrete instant of time. • Synchronization is achieved by a timing device called a clock pulse generator that produces a periodic train or clock pulses. • The storage elements employed in clocked sequential circuits are called flip-flop.
  • 7. 7 Sequential Circuits • As the name implies, sequential logic circuits require a means by which events can be sequenced. • State changes are controlled by clocks. – A “clock” is a special circuit that sends electrical pulses through a circuit. • Clocks produce electrical waveforms such as the one shown below.
  • 8. 8 3.6 Sequential Circuits • State changes occur in sequential circuits only when the clock ticks. • Circuits can change state on the rising edge, falling edge, or when the clock pulse reaches its highest voltage.
  • 9. 9 3.6 Sequential Circuits • Circuits that change state on the rising edge, or falling edge of the clock pulse are called edge- triggered. • Level-triggered circuits change state when the clock voltage reaches its highest or lowest level.
  • 10. Definition of Latch • A latch is an electronic logic circuit that has two inputs and one output. One of the inputs is called the SET input; the other is called the RESET input. 10
  • 11. Latch • Latch circuits can be either active-high or active- low. The difference is determined by whether the operation of the latch circuit is triggered by HIGH or LOW signals on the inputs. • Active-high circuit: Both inputs are normally tied to ground (LOW), and the latch is triggered by a momentary HIGH signal on either of the inputs. • Active-low circuit: Both inputs are normally HIGH, and the latch is triggered by a momentary LOW signal on either input. 11
  • 14. Flip flop • A Flip flop is a binary cell capable or storing one bit or information • It has 2 outputs , zero & one; • A flip-flop maintains a binary state until its directed by a clock pulse to switch states. • The difference among various types or FF is in the no of inputs they posses and in the manner in which the inputs affect the binary state. 14
  • 15. FF • Flip-flops can be divided into common types: • SR Flip Flop : Set/Reset Flip Flop • D Flip Flop : Data Flip Flop to store Bit • J‐K Flip Flop: SR with use of the unavoidable SR=11 state to Toggle • T Flip Flop: Toggle Flip Flop 15
  • 16. 16 3.6 Sequential Circuits • SR flip-flop. – The “SR” stands for set/reset. • The internals of an SR flip-flop (latch) are shown below, along with its block diagram. • Arrow head shaped symbol is front of the letter C to designate a dynamic i/p. It denotes that the FF responds to a positive transition (from 0 to 1) of the i/p clock signal
  • 17. 17 3.6 Sequential Circuits • The behavior of an SR flip-flop is described by a characteristic table. • Q(t) means the value of the output at time t. Q(t+1) is the value of Q after the next clock pulse.
  • 18. 18 3.6 Sequential Circuits • The behavior of an SR flip-flop is described by a characteristic table. • Q(t) means the value of the output at time t. Q(t+1) is the value of Q after the next clock pulse.
  • 19. 19 3.6 Sequential Circuits • The SR flip-flop actually has three inputs: S, R, and its current output, Q. • Thus, we can construct a truth table for this circuit, as shown at the right. • Notice the two undefined values. When both S and R are 1, the SR flip- flop is unstable.
  • 20. 20 3.6 Sequential Circuits • The SR flip-flop can be modified to provide a stable state when both inputs are 1. • This modified flip-flop is called a JK flip-flop, shown at the right. - The “JK” is in honor of Jack Kilby.
  • 21. 21 3.6 Sequential Circuits • At the right, we see how an SR flip-flop can be modified to create a JK flip-flop. • The characteristic table indicates that the flip-flop is stable for all inputs.
  • 22. • J input is equivalent to the S(set) input of the SR and the K input is equal to the R (Clear) input. • Instead of the indeterminate condition the JK flip flop has a complement condition Q(t+1)=Q’(t) when both JK=1; 22
  • 23. 23 3.6 Sequential Circuits • Another modification of the SR flip-flop is the D flip- flop, shown below with its characteristic table. • An SR FF is converted to a D FF by inserting an inverter between S and R and assigning the Symbol D to the single input. • If D=1,the o/p of the FF goes to 1; If D=0,the o/p of the FF goes to 0;
  • 24. 24 3.6 Sequential Circuits • The D flip-flop is the fundamental circuit of computer memory. – The advantage of D FF is only one i/p; – The disadvantage is doesn’t have “No change” condition Q(t+1)=Q(t)
  • 26. • T FF ,obtained by inputs J and K connected to provide a single i/p designated by T. • When T=0( J=K=0) a clock transition does not change the state of the FF; • When T=1( J=K=1) a clock transition does complements the state of the FF; 26
  • 27. Master Slave Flip Flop • Consist of two Flip-flops. First responds to the positive level of the clock(Master),The second (Slave) which responds to the negative level of the clock. 27
  • 28. 28
  • 29. 29
  • 30. 30
  • 31. 31
  • 32. 32
  • 33. 33
  • 34. 34
  • 35. 35