SlideShare a Scribd company logo
DEPARTMENT OF
ELECTRONICS AND COMMUNICATION
ENGINEERING
Instructor
Mr. D V S RAMANJANEYULU
Assistant Professor
Accredited by NBA & NAAC with “A” Grade
CS301ES : ANALOG & DIGITAL ELECTRONICS
P.KIRAN KUMAR,ECE DEPARTMENT 2
UNIT - V
Sequential Logic Circuits: Sequential Circuits, Storage
Elements: Latches and flip flops, Analysis of Clocked
Sequential Circuits, State Reduction and Assignment,
Shift Registers, Ripple Counters, Synchronous Counters,
Random-Access Memory, Read-Only Memory.
P.KIRAN KUMAR,ECE DEPARTMENT 3
Sequential Circuits
Every digital system is likely to have combinational circuits, most systems encountered in
practice also include storage elements, which require that the system be described in
term of sequential logic.
P.KIRAN KUMAR,ECE DEPARTMENT 4
Difference between combinational and sequential circuits
P.KIRAN KUMAR,ECE DEPARTMENT 5
Synchronous Clocked Sequential Circuit
A sequential circuit may use many flip-flops to store as many bits as necessary. The
outputs can come either from the combinational circuit or from the flip-flops or both.
P.KIRAN KUMAR,ECE DEPARTMENT 6
P.KIRAN KUMAR,ECE DEPARTMENT 7
SR Latch
The SR latch is a circuit with two cross-coupled NOR gates or two
cross-coupled NAND gates. It has two inputs labeled S for set and R
for reset.
P.KIRAN KUMAR,ECE DEPARTMENT 8
SR Latch with NAND Gates
P.KIRAN KUMAR,ECE DEPARTMENT 9
SR Latch with Control Input
The operation of the basic SR latch can be modified by providing an additional
control input that determines when the state of the latch can be changed, it
consists of the basic SR latch and two additional NAND gates.
P.KIRAN KUMAR,ECE DEPARTMENT 10
D Latch
One way to eliminate the undesirable condition of the indeterminate state in SR latch is
to ensure that inputs S and R are never equal to 1 at the same time in Fig 5-5. This is
done in the D latch.
P.KIRAN KUMAR,ECE DEPARTMENT 11
Graphic Symbols for latches
A latch is designated by a rectangular block with inputs on the left and outputs on the
right. One output designates the normal output, and the other designates the
complement output.
P.KIRAN KUMAR,ECE DEPARTMENT 12
Clock Response in Flip-Flop
P.KIRAN KUMAR,ECE DEPARTMENT 13
Notion of Clock
• A clock is a periodic (repetitive) rectangular pulse train that synchronizes the
operation of a synchronous sequential circuit.
• For synchronous operation, the storage elements must be clock triggered.
– Flip-flops (as opposed to latches, which are level triggered).
CLK
P.KIRAN KUMAR,ECE DEPARTMENT 14
Edge-Triggered Flip-Flop
• An edge-triggered flip-flop changes its state in synchronism with a clock pulse.
– Either at the positive-edge or at the negative-edge.
– Useful in the design of synchronous sequential circuits, where all changes in the
circuit outputs occur in synchronism with the clock.
CLK
ON period
OFF period
Time period f = frequency
T = time period
T = 1 / f
P.KIRAN KUMAR,ECE DEPARTMENT 15
P.KIRAN KUMAR,ECE DEPARTMENT 16
S
CK
Q
CK
R. Q’
Positive edge triggered
S. Q
R Q’
Negative edge triggered
CK S R Q Q’
0/1 X X NC NC
 0 0 NC NC
 0 1 0 1
 1 0 1 0
 1 1 ? ?
Edge-Triggered S-R Flip-Flop
Characteristic equation:
R.S = 0
Q(t+1) = R’.Q(t) + S
0 0 X 1
1 0 X 1
00 01 11 10
1
SR
Q(t)
0
Positive edge triggered state table
P.KIRAN KUMAR,ECE DEPARTMENT 17
• Excitation table for S-R flip-flop:
Circuit changes Required value
From To S R
0 0 0 X
0 1 1 0
1 0 0 1
1 1 X 0
P.KIRAN KUMAR,ECE DEPARTMENT 18
D Q
CK
Q’
CK
Positive edge triggered
D Q
Q’
Negative edge triggered
CK D Q Q’
0/1 X NC NC
 0 0 1
 1 1 0
Edge-Triggered D Flip-Flop
Characteristic equation:
Q(t+1) = D
Positive edge triggered state table
P.KIRAN KUMAR,ECE DEPARTMENT 19
• Excitation table for D flip-flop:
Circuit changes Required
value
From To D
0 0 0
0 1 1
1 0 0
1 1 1
P.KIRAN KUMAR,ECE DEPARTMENT 20
Edge-Triggered J-K Flip-Flop
CK J K Q(t+1) Q(t+1)’
0/1 X X Q(t) Q(t)’
 0 0 Q(t) Q(t)’
 0 1 0 1
 1 0 1 0
 1 1 Q(t)’ Q(t)
• The J-K flip-flop is the most versatile flip-flop.
– Like in S-R flip-flop, it has two inputs J and K, but does not have any invalid inputs.
Positive edge triggered state table
J. Q
CK
J. Q’
Positive edge triggered
P.KIRAN KUMAR,ECE DEPARTMENT 21
0 0 1 1
1 0 0 1
00 01 11 10
1
Characteristic equation:
Q(t+1) = J.Q(t)’ + K’.Q(t)
JK
Q(t)
0
Circuit changes Required value
From To J K
0 0 0 X
0 1 1 X
1 0 X 1
1 1 X 0
Excitation Table
P.KIRAN KUMAR,ECE DEPARTMENT 22
Gate-Level Implementation of J-K Flip-Flop
CK acts like an enable input; edge detection circuit is not shown.
P.KIRAN KUMAR,ECE DEPARTMENT 23
Edge-Triggered T Flip-Flop
T Q
CK
Q’
CK
Positive edge triggered
T Q
Q’
Negative edge triggered
CK T Q(t+1) Q(t+1)’
0/1 X Q(t) Q(t)’
 0 Q(t) Q(t)’
 1 Q(t)’ Q(t)
Positive edge triggered state table
Characteristic equation:
Q(t+1) = T  Q(t)
P.KIRAN KUMAR,ECE DEPARTMENT 24
Circuit changes Required
value
From To T
0 0 0
0 1 1
1 0 1
1 1 0
Excitation Table
J
K
CK
Q
Q’
T
P.KIRAN KUMAR,ECE DEPARTMENT 25
Master-Slave Flip-Flops
• A master-slave flip-flop has two latch stages, called Master and
Slave.
• Data gets stored in the Master stage one one edge or level of an
control signal (clock), and is transferred to the Slave on the other
edge or level of the control signal.
• Aims to address the problem in latches when the ENABLE signal
may cause multiple changes in the storage cell (for J-K and T
types).
• Suffers from a problem called 0’s catching and 1’s catching
that may be undesirable for many applications.
– Edge-triggered versions are preferred in such cases.
(a) S-R master-slave flip-flop
P.KIRAN KUMAR,ECE DEPARTMENT 27
(b) D master-slave flip-flop
P.KIRAN KUMAR,ECE DEPARTMENT 28
(c) J-K master-slave flip-flop
P.KIRAN KUMAR,ECE DEPARTMENT 29
Converting One Flip-Flop Type to Another
reference class notes
P.KIRAN KUMAR,ECE DEPARTMENT 30
• A register consists of a group of flip-flops with a common clock input, used for storing
binary data.
• Depending on the configuration, there can be several different variations:
a) Parallel-in parallel-out (PIPO)
b) Serial-in serial-out (SISO)
c) Parallel-in serial-out (PISO)
d) Serial-in parallel-out (SIPO)
• If the register supports serial-in and serial-out modes, it is also called a shift register.
Registers
P.KIRAN KUMAR,ECE DEPARTMENT 31
Shift Register
• A shift register is a register in which the binary data can be stored, and the
data can be shifted to the left (or right) when a shift signal is applied.
– New bit gets shifted in; bit shifted out typically get lost.
• Can be constructed simply by connecting D, SR or JK flip-flops in cascade.
• A 4-bit shift register is shown below:
D1 Q1 D2 Q2 D3 Q3 D4 Q4
CLK
Serial In
(SI)
Serial
Out
(SO)
P.KIRAN KUMAR,ECE DEPARTMENT 32
• Some shift registers have a shift enable signal SHIFT, which is used in the same
way as the LOAD signal of a PIPO register.
– Sample timing diagram is shown, assuming that the initial state is Q1Q2Q3Q4 =
0101.
CLK
SI
Q1
Q2
Q3
Q4
1
1
1
1 0
01
0
0
1
1
1
1
1
0
0
0
0 1
1
P.KIRAN KUMAR,ECE DEPARTMENT 33
Universal Shift Register
Universal Shift Register
S1
S0
• A universal shift register is a bidirectional shift register,
whose input can be either in serial form or in parallel
form, and whose output can also be either in serial
form or in parallel form.
• D
• k
k
Q
Shift Right SI
Shift Left SI
CLK
Control
Inputs
Action
0 0 No change
0 1 Shift right
1 0 Shift left
1 1 Parallel load
P.KIRAN KUMAR,ECE DEPARTMENT 34
D1 Q1 D2 Q2 D3 Q3
CLK
MUXMUXMUX
D1
Q2 Q1 Q3
D2 D3
SI
Q3 Q2 (left)
SI
Q1 (right) Q2
S1 S1 S1
S0 S0
S0
A 3-bit universal shift register
P.KIRAN KUMAR,ECE DEPARTMENT 35
Ring Counter
• This is obtained from a SISO shift register by connecting the Q output of the
last flip-flop to the D input of the first flip-flop.
– Typically, a ring counter is initialized with a single 1 and all remaining 0’s.
– This can generate multi-phase clock, or sequence of synchronizing pulses.
• For a k-bit ring counter, the contents of the register gets repeated after k
clocks.
– Modulo-k counter.
P.KIRAN KUMAR,ECE DEPARTMENT 36
D1 Q1 D2 Q2 D3 Q3
A 3-bit ring counter.
Assume the initial state
Q1Q2Q3 = 1 0 0.
CLK
CLK
Q1
Q2
Q3
Q1Q2Q3 generates non-overlapping pulse trains
P.KIRAN KUMAR,ECE DEPARTMENT 37
TWISTED RING COUNTER (JOHNSON COUNTER)
P.KIRAN KUMAR,ECE DEPARTMENT 38

More Related Content

What's hot

Introduction to embedded systems
Introduction  to embedded systemsIntroduction  to embedded systems
Introduction to embedded systemsRAMPRAKASHT1
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureJamia Hamdard
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 
Introduction to nand2 tetris
Introduction to nand2 tetrisIntroduction to nand2 tetris
Introduction to nand2 tetrisYodalee
 
Asynchronous Serial Communication and standards
Asynchronous Serial Communication and standardsAsynchronous Serial Communication and standards
Asynchronous Serial Communication and standardsMathivanan Natarajan
 
Race around and master slave flip flop
Race around and master slave flip flopRace around and master slave flip flop
Race around and master slave flip flopShubham Singh
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction SetDr. Pankaj Zope
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNSEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNQAU ISLAMABAD,PAKISTAN
 
Arm organization and implementation
Arm organization and implementationArm organization and implementation
Arm organization and implementationShubham Singh
 
sequential circuits
sequential circuitssequential circuits
sequential circuitsUnsa Shakir
 
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3ACE ENGINEERING COLLEGE
 

What's hot (20)

Counters
CountersCounters
Counters
 
Introduction to embedded systems
Introduction  to embedded systemsIntroduction  to embedded systems
Introduction to embedded systems
 
Plc
PlcPlc
Plc
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Introduction to nand2 tetris
Introduction to nand2 tetrisIntroduction to nand2 tetris
Introduction to nand2 tetris
 
Asynchronous Serial Communication and standards
Asynchronous Serial Communication and standardsAsynchronous Serial Communication and standards
Asynchronous Serial Communication and standards
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
Counters
CountersCounters
Counters
 
Race around and master slave flip flop
Race around and master slave flip flopRace around and master slave flip flop
Race around and master slave flip flop
 
Switch level modeling
Switch level modelingSwitch level modeling
Switch level modeling
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 
Flip flop
Flip flop Flip flop
Flip flop
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
CMOS Logic Circuits
CMOS Logic CircuitsCMOS Logic Circuits
CMOS Logic Circuits
 
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGNSEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
SEQUENTIAL AND COMBINATIONAL CIRCUITS,DIGITAL LOGIC DESIGN
 
Arm organization and implementation
Arm organization and implementationArm organization and implementation
Arm organization and implementation
 
sequential circuits
sequential circuitssequential circuits
sequential circuits
 
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
CS301ES: ANALOG AND DIGITAL ELECTRONICS unit-3
 

Similar to ANALOG AND DIGITAL ELECTRONICS unit 5

SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxThanmayiKumar
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxUtsavDas21
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuitBrenda Debra
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptxamudhak10
 
DIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.pptDIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.pptAmitpaswan23
 
Sequential circuit-flip flops
Sequential circuit-flip flopsSequential circuit-flip flops
Sequential circuit-flip flopsDr Naim R Kidwai
 
Digital design slides for engineering
Digital  design   slides for engineeringDigital  design   slides for engineering
Digital design slides for engineeringkasheen2803
 
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.pptxSaini71
 
flip flop Presentation
flip flop  Presentationflip flop  Presentation
flip flop Presentationmaalik123
 

Similar to ANALOG AND DIGITAL ELECTRONICS unit 5 (20)

SEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptxSEQUENTIAL CIRCUITS -Module 5 (1).pptx
SEQUENTIAL CIRCUITS -Module 5 (1).pptx
 
Cse(b) g1 flipflop
Cse(b) g1 flipflopCse(b) g1 flipflop
Cse(b) g1 flipflop
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
Flip flop
Flip flopFlip flop
Flip flop
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
flip flop 13.ppt
flip flop 13.pptflip flop 13.ppt
flip flop 13.ppt
 
DIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.pptDIGITAL ELECTRONICS PPT 1.ppt
DIGITAL ELECTRONICS PPT 1.ppt
 
Logic Gate
Logic GateLogic Gate
Logic Gate
 
latchesflip-flop DLD
latchesflip-flop DLDlatchesflip-flop DLD
latchesflip-flop DLD
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
Sequential circuit-flip flops
Sequential circuit-flip flopsSequential circuit-flip flops
Sequential circuit-flip flops
 
DLD Chapter-5.pdf
DLD Chapter-5.pdfDLD Chapter-5.pdf
DLD Chapter-5.pdf
 
Lecture 1 6844
Lecture 1 6844Lecture 1 6844
Lecture 1 6844
 
Digital design slides for engineering
Digital  design   slides for engineeringDigital  design   slides for engineering
Digital design slides for engineering
 
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
 
flip flop Presentation
flip flop  Presentationflip flop  Presentation
flip flop Presentation
 
Flip flops
Flip flopsFlip flops
Flip flops
 
unit 5.pptx
unit 5.pptxunit 5.pptx
unit 5.pptx
 

More from ACE ENGINEERING COLLEGE

important question jntu network analysis
important question jntu network analysisimportant question jntu network analysis
important question jntu network analysisACE ENGINEERING COLLEGE
 
Wave ppt Wireless Access in Vehicular Environment
Wave ppt Wireless Access in Vehicular EnvironmentWave ppt Wireless Access in Vehicular Environment
Wave ppt Wireless Access in Vehicular EnvironmentACE ENGINEERING COLLEGE
 

More from ACE ENGINEERING COLLEGE (17)

satellite communication- UNIT-III.pptx
satellite communication- UNIT-III.pptxsatellite communication- UNIT-III.pptx
satellite communication- UNIT-III.pptx
 
satellite communication-UNIT-II.pptx
satellite communication-UNIT-II.pptxsatellite communication-UNIT-II.pptx
satellite communication-UNIT-II.pptx
 
satellite communication-UNIT-IV.pptx
satellite communication-UNIT-IV.pptxsatellite communication-UNIT-IV.pptx
satellite communication-UNIT-IV.pptx
 
satellite communication- UNIT-V.pptx
satellite communication- UNIT-V.pptxsatellite communication- UNIT-V.pptx
satellite communication- UNIT-V.pptx
 
CS301ES: ANALOG AND DIGITAL ELECTRONICS
CS301ES: ANALOG AND DIGITAL ELECTRONICSCS301ES: ANALOG AND DIGITAL ELECTRONICS
CS301ES: ANALOG AND DIGITAL ELECTRONICS
 
Pdc lab manualnew
Pdc lab manualnewPdc lab manualnew
Pdc lab manualnew
 
Unit5 , LC Networks and Filters
Unit5 , LC Networks and FiltersUnit5 , LC Networks and Filters
Unit5 , LC Networks and Filters
 
Unit 4 twoportnetwork
Unit 4 twoportnetworkUnit 4 twoportnetwork
Unit 4 twoportnetwork
 
Unit 2 resonance circuit
Unit 2 resonance circuitUnit 2 resonance circuit
Unit 2 resonance circuit
 
Unit 1 magnetically coupled circuit
Unit 1 magnetically coupled circuitUnit 1 magnetically coupled circuit
Unit 1 magnetically coupled circuit
 
Unit 1 graph theory
Unit 1 graph theoryUnit 1 graph theory
Unit 1 graph theory
 
important question jntu network analysis
important question jntu network analysisimportant question jntu network analysis
important question jntu network analysis
 
Unit 5 jntu network analysis notes
Unit 5 jntu network analysis notesUnit 5 jntu network analysis notes
Unit 5 jntu network analysis notes
 
Unit 4 na jntu network analysis notes
Unit 4 na jntu network analysis notesUnit 4 na jntu network analysis notes
Unit 4 na jntu network analysis notes
 
Na unit 2 jntu network analysis notes
Na unit 2 jntu network analysis notesNa unit 2 jntu network analysis notes
Na unit 2 jntu network analysis notes
 
Wave ppt Wireless Access in Vehicular Environment
Wave ppt Wireless Access in Vehicular EnvironmentWave ppt Wireless Access in Vehicular Environment
Wave ppt Wireless Access in Vehicular Environment
 
Project review format templates
Project review format templatesProject review format templates
Project review format templates
 

Recently uploaded

Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...Nguyen Thanh Tu Collection
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismDeeptiGupta154
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resourcesdimpy50
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptSourabh Kumar
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdfCarlosHernanMontoyab2
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxJisc
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfkaushalkr1407
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxbennyroshan06
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...Jisc
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfbu07226
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePedroFerreira53928
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxssuserbdd3e8
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaasiemaillard
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfYibeltalNibretu
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationDelapenabediema
 

Recently uploaded (20)

Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Benefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational ResourcesBenefits and Challenges of Using Open Educational Resources
Benefits and Challenges of Using Open Educational Resources
 
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.pptBasic_QTL_Marker-assisted_Selection_Sourabh.ppt
Basic_QTL_Marker-assisted_Selection_Sourabh.ppt
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdfINU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
INU_CAPSTONEDESIGN_비밀번호486_업로드용 발표자료.pdf
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 

ANALOG AND DIGITAL ELECTRONICS unit 5

  • 1. DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING Instructor Mr. D V S RAMANJANEYULU Assistant Professor Accredited by NBA & NAAC with “A” Grade CS301ES : ANALOG & DIGITAL ELECTRONICS
  • 2. P.KIRAN KUMAR,ECE DEPARTMENT 2 UNIT - V Sequential Logic Circuits: Sequential Circuits, Storage Elements: Latches and flip flops, Analysis of Clocked Sequential Circuits, State Reduction and Assignment, Shift Registers, Ripple Counters, Synchronous Counters, Random-Access Memory, Read-Only Memory.
  • 3. P.KIRAN KUMAR,ECE DEPARTMENT 3 Sequential Circuits Every digital system is likely to have combinational circuits, most systems encountered in practice also include storage elements, which require that the system be described in term of sequential logic.
  • 4. P.KIRAN KUMAR,ECE DEPARTMENT 4 Difference between combinational and sequential circuits
  • 5. P.KIRAN KUMAR,ECE DEPARTMENT 5 Synchronous Clocked Sequential Circuit A sequential circuit may use many flip-flops to store as many bits as necessary. The outputs can come either from the combinational circuit or from the flip-flops or both.
  • 7. P.KIRAN KUMAR,ECE DEPARTMENT 7 SR Latch The SR latch is a circuit with two cross-coupled NOR gates or two cross-coupled NAND gates. It has two inputs labeled S for set and R for reset.
  • 8. P.KIRAN KUMAR,ECE DEPARTMENT 8 SR Latch with NAND Gates
  • 9. P.KIRAN KUMAR,ECE DEPARTMENT 9 SR Latch with Control Input The operation of the basic SR latch can be modified by providing an additional control input that determines when the state of the latch can be changed, it consists of the basic SR latch and two additional NAND gates.
  • 10. P.KIRAN KUMAR,ECE DEPARTMENT 10 D Latch One way to eliminate the undesirable condition of the indeterminate state in SR latch is to ensure that inputs S and R are never equal to 1 at the same time in Fig 5-5. This is done in the D latch.
  • 11. P.KIRAN KUMAR,ECE DEPARTMENT 11 Graphic Symbols for latches A latch is designated by a rectangular block with inputs on the left and outputs on the right. One output designates the normal output, and the other designates the complement output.
  • 12. P.KIRAN KUMAR,ECE DEPARTMENT 12 Clock Response in Flip-Flop
  • 13. P.KIRAN KUMAR,ECE DEPARTMENT 13 Notion of Clock • A clock is a periodic (repetitive) rectangular pulse train that synchronizes the operation of a synchronous sequential circuit. • For synchronous operation, the storage elements must be clock triggered. – Flip-flops (as opposed to latches, which are level triggered). CLK
  • 14. P.KIRAN KUMAR,ECE DEPARTMENT 14 Edge-Triggered Flip-Flop • An edge-triggered flip-flop changes its state in synchronism with a clock pulse. – Either at the positive-edge or at the negative-edge. – Useful in the design of synchronous sequential circuits, where all changes in the circuit outputs occur in synchronism with the clock. CLK ON period OFF period Time period f = frequency T = time period T = 1 / f
  • 16. P.KIRAN KUMAR,ECE DEPARTMENT 16 S CK Q CK R. Q’ Positive edge triggered S. Q R Q’ Negative edge triggered CK S R Q Q’ 0/1 X X NC NC  0 0 NC NC  0 1 0 1  1 0 1 0  1 1 ? ? Edge-Triggered S-R Flip-Flop Characteristic equation: R.S = 0 Q(t+1) = R’.Q(t) + S 0 0 X 1 1 0 X 1 00 01 11 10 1 SR Q(t) 0 Positive edge triggered state table
  • 17. P.KIRAN KUMAR,ECE DEPARTMENT 17 • Excitation table for S-R flip-flop: Circuit changes Required value From To S R 0 0 0 X 0 1 1 0 1 0 0 1 1 1 X 0
  • 18. P.KIRAN KUMAR,ECE DEPARTMENT 18 D Q CK Q’ CK Positive edge triggered D Q Q’ Negative edge triggered CK D Q Q’ 0/1 X NC NC  0 0 1  1 1 0 Edge-Triggered D Flip-Flop Characteristic equation: Q(t+1) = D Positive edge triggered state table
  • 19. P.KIRAN KUMAR,ECE DEPARTMENT 19 • Excitation table for D flip-flop: Circuit changes Required value From To D 0 0 0 0 1 1 1 0 0 1 1 1
  • 20. P.KIRAN KUMAR,ECE DEPARTMENT 20 Edge-Triggered J-K Flip-Flop CK J K Q(t+1) Q(t+1)’ 0/1 X X Q(t) Q(t)’  0 0 Q(t) Q(t)’  0 1 0 1  1 0 1 0  1 1 Q(t)’ Q(t) • The J-K flip-flop is the most versatile flip-flop. – Like in S-R flip-flop, it has two inputs J and K, but does not have any invalid inputs. Positive edge triggered state table J. Q CK J. Q’ Positive edge triggered
  • 21. P.KIRAN KUMAR,ECE DEPARTMENT 21 0 0 1 1 1 0 0 1 00 01 11 10 1 Characteristic equation: Q(t+1) = J.Q(t)’ + K’.Q(t) JK Q(t) 0 Circuit changes Required value From To J K 0 0 0 X 0 1 1 X 1 0 X 1 1 1 X 0 Excitation Table
  • 22. P.KIRAN KUMAR,ECE DEPARTMENT 22 Gate-Level Implementation of J-K Flip-Flop CK acts like an enable input; edge detection circuit is not shown.
  • 23. P.KIRAN KUMAR,ECE DEPARTMENT 23 Edge-Triggered T Flip-Flop T Q CK Q’ CK Positive edge triggered T Q Q’ Negative edge triggered CK T Q(t+1) Q(t+1)’ 0/1 X Q(t) Q(t)’  0 Q(t) Q(t)’  1 Q(t)’ Q(t) Positive edge triggered state table Characteristic equation: Q(t+1) = T  Q(t)
  • 24. P.KIRAN KUMAR,ECE DEPARTMENT 24 Circuit changes Required value From To T 0 0 0 0 1 1 1 0 1 1 1 0 Excitation Table J K CK Q Q’ T
  • 25. P.KIRAN KUMAR,ECE DEPARTMENT 25 Master-Slave Flip-Flops • A master-slave flip-flop has two latch stages, called Master and Slave. • Data gets stored in the Master stage one one edge or level of an control signal (clock), and is transferred to the Slave on the other edge or level of the control signal. • Aims to address the problem in latches when the ENABLE signal may cause multiple changes in the storage cell (for J-K and T types). • Suffers from a problem called 0’s catching and 1’s catching that may be undesirable for many applications. – Edge-triggered versions are preferred in such cases.
  • 26. (a) S-R master-slave flip-flop
  • 27. P.KIRAN KUMAR,ECE DEPARTMENT 27 (b) D master-slave flip-flop
  • 28. P.KIRAN KUMAR,ECE DEPARTMENT 28 (c) J-K master-slave flip-flop
  • 29. P.KIRAN KUMAR,ECE DEPARTMENT 29 Converting One Flip-Flop Type to Another reference class notes
  • 30. P.KIRAN KUMAR,ECE DEPARTMENT 30 • A register consists of a group of flip-flops with a common clock input, used for storing binary data. • Depending on the configuration, there can be several different variations: a) Parallel-in parallel-out (PIPO) b) Serial-in serial-out (SISO) c) Parallel-in serial-out (PISO) d) Serial-in parallel-out (SIPO) • If the register supports serial-in and serial-out modes, it is also called a shift register. Registers
  • 31. P.KIRAN KUMAR,ECE DEPARTMENT 31 Shift Register • A shift register is a register in which the binary data can be stored, and the data can be shifted to the left (or right) when a shift signal is applied. – New bit gets shifted in; bit shifted out typically get lost. • Can be constructed simply by connecting D, SR or JK flip-flops in cascade. • A 4-bit shift register is shown below: D1 Q1 D2 Q2 D3 Q3 D4 Q4 CLK Serial In (SI) Serial Out (SO)
  • 32. P.KIRAN KUMAR,ECE DEPARTMENT 32 • Some shift registers have a shift enable signal SHIFT, which is used in the same way as the LOAD signal of a PIPO register. – Sample timing diagram is shown, assuming that the initial state is Q1Q2Q3Q4 = 0101. CLK SI Q1 Q2 Q3 Q4 1 1 1 1 0 01 0 0 1 1 1 1 1 0 0 0 0 1 1
  • 33. P.KIRAN KUMAR,ECE DEPARTMENT 33 Universal Shift Register Universal Shift Register S1 S0 • A universal shift register is a bidirectional shift register, whose input can be either in serial form or in parallel form, and whose output can also be either in serial form or in parallel form. • D • k k Q Shift Right SI Shift Left SI CLK Control Inputs Action 0 0 No change 0 1 Shift right 1 0 Shift left 1 1 Parallel load
  • 34. P.KIRAN KUMAR,ECE DEPARTMENT 34 D1 Q1 D2 Q2 D3 Q3 CLK MUXMUXMUX D1 Q2 Q1 Q3 D2 D3 SI Q3 Q2 (left) SI Q1 (right) Q2 S1 S1 S1 S0 S0 S0 A 3-bit universal shift register
  • 35. P.KIRAN KUMAR,ECE DEPARTMENT 35 Ring Counter • This is obtained from a SISO shift register by connecting the Q output of the last flip-flop to the D input of the first flip-flop. – Typically, a ring counter is initialized with a single 1 and all remaining 0’s. – This can generate multi-phase clock, or sequence of synchronizing pulses. • For a k-bit ring counter, the contents of the register gets repeated after k clocks. – Modulo-k counter.
  • 36. P.KIRAN KUMAR,ECE DEPARTMENT 36 D1 Q1 D2 Q2 D3 Q3 A 3-bit ring counter. Assume the initial state Q1Q2Q3 = 1 0 0. CLK CLK Q1 Q2 Q3 Q1Q2Q3 generates non-overlapping pulse trains
  • 37. P.KIRAN KUMAR,ECE DEPARTMENT 37 TWISTED RING COUNTER (JOHNSON COUNTER)