SlideShare a Scribd company logo
1 of 15
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2
Session 26: Focus
 State Diagrams
◦ Some Examples
 Design of Sequential Circuits
 Design Steps
 Design of Sequence Recognizer (1011)
◦ State Diagram
◦ State Table
◦ State Assignment
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
State Diagrams: Some Examples
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4
Example 1: Find 11 in the Sequence
S0 S1
1 / 1
1 / 0
0 / 0
0 / 0
Output is 1 when two consecutive 1s are found in the sequence:
Input/output
Note: The number of arcs leaving any circle is 2n,
where n is the number of inputs to the sequential circuit.
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5
Example 2: Find 111 in the Sequence
S0 S1
1 / 0
0 / 0
S2
1 / 1
1 / 0
0 / 0
0 / 0
Output is 1 when three consecutive 1s are found in the sequence:
Corrected S1 to S2 transition
From 1/1 to 1/0
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Design of
Synchronous Sequential Circuits
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 7
Design Steps
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8
Design Steps Explained …
1. Start with verbal specifications of the problem
2. Derive the state table from it
• In some cases, it is easier to first obtain a state diagram from
the verbal description and then state table
3. Try to minimize number states to get reduced state
table
4. Assign binary codes to the reduced states
 Which is called output or state transition table
5. Derive Flip-flops input equations using flip-flops excitation
tables
 It depends on the choice of flip-flops to be used in the circuit
6. Derive Output equation in terms of inputs and flip-flop outputs
7. Finally, the logic diagram of the sequential circuit is constructed
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Example Design of a
Sequential Circuits
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 10
Step 1: Problem Definition
 Design a sequence recognizer which detects an input
sequence of 1011
 The sequence recognizer outputs a ‘1’ on detecting an
the input sequence (1011).
 The sequential circuit is to be designed using JK and D
type flip-flops
 A sample input/output trace for the sequence detector
is given below:
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11
Step 2: State Diagram
Output is 1 when 1011 pattern is found in the sequence:
State S0: Initial state
S1: Last single bit of the sequence was 1
S2: Detection of sequence 10 as last two bits
S3: Detection of sequence 101 as last three bits
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12
Step 3: State Table
Output is 1 when 1011 pattern is found in the sequence:
State S0: Initial state
S1: Last single bit of the sequence was 1
S2: Detection of sequence 10 as last two bits
S3: Detection of sequence 101 as last three bits
X is Input
Y is Output
Y
State Table in an
Alternative Format
Y
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 13
Step 4: State Assignment
Output is 1 when 1011 pattern is found in the sequence:
01 111000
 It is necessary to replace symbolic names of the states with
binary codes in order to proceed with the design.
 If there are m states, then the codes must contain n bits, where
2n ≥ m, and each state must be assigned an unique code
 The binary numbers from 0 through (2m+n – 1) are listed under
the present-state and input columns.
State Transition Table
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14
Session 26: Summary
 State Diagrams
◦ Some Examples
 Design of Sequential Circuits
 Design Steps
 Design of Sequence Recognizer (1011)
◦ State Diagram
◦ State Table
◦ State Assignment
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15
References
Ref 1 Ref 2

More Related Content

What's hot

sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...Gautham Reddy
 
Dee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aDee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aSITI SABARIAH SALIHIN
 
Ejercicios de retroalimentacion
Ejercicios de retroalimentacionEjercicios de retroalimentacion
Ejercicios de retroalimentacionDIEGO GARZON
 

What's hot (20)

Digital Design Session 17
Digital Design Session 17Digital Design Session 17
Digital Design Session 17
 
Digital Design Session 24
Digital Design Session 24Digital Design Session 24
Digital Design Session 24
 
Digital Design Session 3
Digital Design Session 3Digital Design Session 3
Digital Design Session 3
 
Digital Design Session 18
Digital Design Session 18Digital Design Session 18
Digital Design Session 18
 
Digital Design Session 20
Digital Design Session 20Digital Design Session 20
Digital Design Session 20
 
Digital Design Session 6
Digital Design Session 6Digital Design Session 6
Digital Design Session 6
 
Digital Design Session 4
Digital Design Session 4Digital Design Session 4
Digital Design Session 4
 
Digital Design Session 19
Digital Design Session 19Digital Design Session 19
Digital Design Session 19
 
Digital Design Session 1
Digital Design Session 1Digital Design Session 1
Digital Design Session 1
 
Digital Design Session 10
Digital Design Session 10Digital Design Session 10
Digital Design Session 10
 
Digital Design Session 5
Digital Design  Session 5Digital Design  Session 5
Digital Design Session 5
 
Digital Design Session 2
Digital Design Session 2Digital Design Session 2
Digital Design Session 2
 
Digital Design Session 9
Digital Design Session 9Digital Design Session 9
Digital Design Session 9
 
Digital Design Course Summary
 Digital Design Course Summary Digital Design Course Summary
Digital Design Course Summary
 
Digital Design Session 8
Digital Design Session 8Digital Design Session 8
Digital Design Session 8
 
Digital Design Session 7
Digital Design  Session 7Digital Design  Session 7
Digital Design Session 7
 
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
 
Dee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aDee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part a
 
Ejercicios de retroalimentacion
Ejercicios de retroalimentacionEjercicios de retroalimentacion
Ejercicios de retroalimentacion
 
13 use curves
13 use curves13 use curves
13 use curves
 

Similar to Digital Design Session 26 (20)

Dpsd lecture-notes
Dpsd lecture-notesDpsd lecture-notes
Dpsd lecture-notes
 
1 Unit-1 DEC B.Tech ECE III Sem Syllabus & Intro.pptx
1 Unit-1 DEC B.Tech ECE III Sem Syllabus & Intro.pptx1 Unit-1 DEC B.Tech ECE III Sem Syllabus & Intro.pptx
1 Unit-1 DEC B.Tech ECE III Sem Syllabus & Intro.pptx
 
Analysis sequential circuits
Analysis sequential circuitsAnalysis sequential circuits
Analysis sequential circuits
 
Digital Design Session 23
Digital Design Session 23Digital Design Session 23
Digital Design Session 23
 
Unit-6 Computer Arithmetic.ppsx
Unit-6 Computer Arithmetic.ppsxUnit-6 Computer Arithmetic.ppsx
Unit-6 Computer Arithmetic.ppsx
 
Digital Logic & Design
Digital Logic & DesignDigital Logic & Design
Digital Logic & Design
 
Dee2034 chapter 5 counter
Dee2034 chapter 5 counterDee2034 chapter 5 counter
Dee2034 chapter 5 counter
 
Digital Design Session 12
Digital Design Session 12Digital Design Session 12
Digital Design Session 12
 
Mazidi Presentation.pdf
Mazidi Presentation.pdfMazidi Presentation.pdf
Mazidi Presentation.pdf
 
Lec17-Registers.ppt
Lec17-Registers.pptLec17-Registers.ppt
Lec17-Registers.ppt
 
Unit 2 module-2
Unit 2 module-2Unit 2 module-2
Unit 2 module-2
 
Number codes
Number codesNumber codes
Number codes
 
DCF QNA edited
DCF QNA editedDCF QNA edited
DCF QNA edited
 
Logic Design
Logic DesignLogic Design
Logic Design
 
Module 4
Module 4Module 4
Module 4
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
9920Lec12 FSM.ppt
9920Lec12 FSM.ppt9920Lec12 FSM.ppt
9920Lec12 FSM.ppt
 
Chapter 5 counter1
Chapter 5 counter1Chapter 5 counter1
Chapter 5 counter1
 
Slides
SlidesSlides
Slides
 
digital-systems-and-binary-numbers1.pptx
digital-systems-and-binary-numbers1.pptxdigital-systems-and-binary-numbers1.pptx
digital-systems-and-binary-numbers1.pptx
 

Recently uploaded

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 

Recently uploaded (20)

Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 

Digital Design Session 26

  • 1. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
  • 2. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2 Session 26: Focus  State Diagrams ◦ Some Examples  Design of Sequential Circuits  Design Steps  Design of Sequence Recognizer (1011) ◦ State Diagram ◦ State Table ◦ State Assignment
  • 3. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com State Diagrams: Some Examples
  • 4. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4 Example 1: Find 11 in the Sequence S0 S1 1 / 1 1 / 0 0 / 0 0 / 0 Output is 1 when two consecutive 1s are found in the sequence: Input/output Note: The number of arcs leaving any circle is 2n, where n is the number of inputs to the sequential circuit.
  • 5. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5 Example 2: Find 111 in the Sequence S0 S1 1 / 0 0 / 0 S2 1 / 1 1 / 0 0 / 0 0 / 0 Output is 1 when three consecutive 1s are found in the sequence: Corrected S1 to S2 transition From 1/1 to 1/0
  • 6. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Design of Synchronous Sequential Circuits
  • 7. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 7 Design Steps
  • 8. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8 Design Steps Explained … 1. Start with verbal specifications of the problem 2. Derive the state table from it • In some cases, it is easier to first obtain a state diagram from the verbal description and then state table 3. Try to minimize number states to get reduced state table 4. Assign binary codes to the reduced states  Which is called output or state transition table 5. Derive Flip-flops input equations using flip-flops excitation tables  It depends on the choice of flip-flops to be used in the circuit 6. Derive Output equation in terms of inputs and flip-flop outputs 7. Finally, the logic diagram of the sequential circuit is constructed
  • 9. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Example Design of a Sequential Circuits
  • 10. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 10 Step 1: Problem Definition  Design a sequence recognizer which detects an input sequence of 1011  The sequence recognizer outputs a ‘1’ on detecting an the input sequence (1011).  The sequential circuit is to be designed using JK and D type flip-flops  A sample input/output trace for the sequence detector is given below:
  • 11. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11 Step 2: State Diagram Output is 1 when 1011 pattern is found in the sequence: State S0: Initial state S1: Last single bit of the sequence was 1 S2: Detection of sequence 10 as last two bits S3: Detection of sequence 101 as last three bits
  • 12. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12 Step 3: State Table Output is 1 when 1011 pattern is found in the sequence: State S0: Initial state S1: Last single bit of the sequence was 1 S2: Detection of sequence 10 as last two bits S3: Detection of sequence 101 as last three bits X is Input Y is Output Y State Table in an Alternative Format Y
  • 13. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 13 Step 4: State Assignment Output is 1 when 1011 pattern is found in the sequence: 01 111000  It is necessary to replace symbolic names of the states with binary codes in order to proceed with the design.  If there are m states, then the codes must contain n bits, where 2n ≥ m, and each state must be assigned an unique code  The binary numbers from 0 through (2m+n – 1) are listed under the present-state and input columns. State Transition Table
  • 14. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14 Session 26: Summary  State Diagrams ◦ Some Examples  Design of Sequential Circuits  Design Steps  Design of Sequence Recognizer (1011) ◦ State Diagram ◦ State Table ◦ State Assignment
  • 15. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15 References Ref 1 Ref 2