SlideShare a Scribd company logo
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 (20)

PDF
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
PPSX
Dee2034 chapter 2 boolean algebra part a
PPTX
Ejercicios de retroalimentacion
PDF
13 use curves
sequential circuit that encodes a hexadecimal 16-key keypad output to 4 – bit...
Dee2034 chapter 2 boolean algebra part a
Ejercicios de retroalimentacion
13 use curves
Ad

Similar to Digital Design Session 26 (20)

PDF
digital-electronics_7.pdf
PPTX
DD Slides6.pptx aaaaaaaaaaaaaaaaaaaaaaaaaaaa
PPT
Lec 25 26_27
PPTX
Unit I_CDA-1 computer design and applications.
PDF
Analysis sequential circuits
PPT
chap8 synchronous sequential circuit design.ppt
PDF
DD lectures_17-09 to 24-09BITS2024-2025(1).pdf
PDF
Design a circuit that detect the sequence 0110. Draw the Moore sta.pdf
PPT
Lect 22 - Sequential Circuit Design.ppt
PPT
Lect 22 sequential circuit design (1)
PPTX
DS_LEC_3.pptx
PPTX
Chapter-6-Synchronous Sequential Logic (2).pptx
PPT
Lect23 Engin112
PPTX
bbbbbbbbbbbbbcsdasdabcddksrekkdkfjdslsdfrd
DOCX
UNIT-II : SEQUENTIAL CIRCUIT DESIGN
DOCX
UNIT-II -DIGITAL SYSTEM DESIGN
PDF
Digital Electronics – Unit IV.pdf
PDF
DLD Lecture Unit 4 (1).pdf
PPTX
PPT
PPT 2nd unit course file.ppt
digital-electronics_7.pdf
DD Slides6.pptx aaaaaaaaaaaaaaaaaaaaaaaaaaaa
Lec 25 26_27
Unit I_CDA-1 computer design and applications.
Analysis sequential circuits
chap8 synchronous sequential circuit design.ppt
DD lectures_17-09 to 24-09BITS2024-2025(1).pdf
Design a circuit that detect the sequence 0110. Draw the Moore sta.pdf
Lect 22 - Sequential Circuit Design.ppt
Lect 22 sequential circuit design (1)
DS_LEC_3.pptx
Chapter-6-Synchronous Sequential Logic (2).pptx
Lect23 Engin112
bbbbbbbbbbbbbcsdasdabcddksrekkdkfjdslsdfrd
UNIT-II : SEQUENTIAL CIRCUIT DESIGN
UNIT-II -DIGITAL SYSTEM DESIGN
Digital Electronics – Unit IV.pdf
DLD Lecture Unit 4 (1).pdf
PPT 2nd unit course file.ppt
Ad

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
UNIT 4 Total Quality Management .pptx
PPTX
Sustainable Sites - Green Building Construction
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
composite construction of structures.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPT
Project quality management in manufacturing
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
bas. eng. economics group 4 presentation 1.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
UNIT 4 Total Quality Management .pptx
Sustainable Sites - Green Building Construction
R24 SURVEYING LAB MANUAL for civil enggi
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
UNIT-1 - COAL BASED THERMAL POWER PLANTS
composite construction of structures.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Project quality management in manufacturing
Fundamentals of safety and accident prevention -final (1).pptx
Operating System & Kernel Study Guide-1 - converted.pdf
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Internet of Things (IOT) - A guide to understanding
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf

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