0% found this document useful (0 votes)
66 views16 pages

Session 13 - Sequence Detector

This document summarizes a lecture on sequence and pattern detectors. The lecture introduces finite state machines and their use in sequence recognition. It discusses the Moore and Mealy models for building sequence detectors. The key topics covered are the classification of finite state machines, the Moore and Mealy models of computation, and designing sequence detectors using these models to recognize strings of characters. Examples are provided of overlapping and non-overlapping sequence detectors, including state diagrams, state tables, and circuit excitation tables.

Uploaded by

Clement Mensah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views16 pages

Session 13 - Sequence Detector

This document summarizes a lecture on sequence and pattern detectors. The lecture introduces finite state machines and their use in sequence recognition. It discusses the Moore and Mealy models for building sequence detectors. The key topics covered are the classification of finite state machines, the Moore and Mealy models of computation, and designing sequence detectors using these models to recognize strings of characters. Examples are provided of overlapping and non-overlapping sequence detectors, including state diagrams, state tables, and circuit excitation tables.

Uploaded by

Clement Mensah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

DCIT

203
DIGITAL AND LOGIC SYSTEM DESIGN
Session 13 – Sequence/ Pattern Detector
Lecturer: Dwumfour Abdullai Aziz
Email: adwumfour@ug.edu.gh
Mobile: 0260541219

UNIVERSITY OF GHANA
College of Education
College of Education
School
School ofofContinuing
Continuingandand Distance
Distance Education
Education
2021/2022
2014/2015 – -2016/2017
2022/2023
SESSION OVERVIEW

The session introduces student to the design


principles and procedures of Sequence / Pattern
detector. It focuses on the design of FSM for
sequence /pattern recognition using Moore/ Mealy
Models. State diagrams for Moore and Mealy Models
will be explored.

Dwumfour Abdullai Aziz Slide 2


LEARNING OUTCOME
At the end of the session, the student should be able to:
q Understand the Moore and Mealy Models of computation
q Become familiar with the design of FSM for pattern
recognition
q Design a sequence detector using Moore and Mealy
Models
q Understand overlapping and non overlapping conditions
in the design of sequence detector.

Dwumfour Abdullai Aziz Slide 3


SESSION OUTLINE

The key topics to be covered in the session include


q Classification of Finite State Machine with Output
q Moore Model of computation
q Mealy Model of computation
q Design of sequence detector using Mealy/ Moore
Models that recognizes a string of characters

Dwumfour Abdullai Aziz Slide 4


PATTERN / SEQUENCE DETECTOR
❑ A sequence recognizer or detector is a sequential state
machine that looks for a special bit pattern occurring in
a binary string.
❑ A sequence detector takes an input string of bits and
generates an output 1 whenever the target sequence
has been detected.
❑ The recognizer circuit has only one input, X; one input
bit is supplied on every clock cycle.
❑ For every bit applied to the input X, the circuit
generates a bit at output Z.
Z = 1 when the most recent bits in the stream at input X
completes the pattern, otherwise the output Z=0
Dwumfour Abdullai Aziz Slide 5
PATTERN / SEQUENCE DETECTOR

Dwumfour Abdullai Aziz Slide 6


PATTERN / SEQUENCE DETECTOR

Sequence detector is of two types:


q Overlapping
q Non-Overlapping

Dwumfour Abdullai Aziz Slide 7


PATTERN / SEQUENCE DETECTOR

Overlapping
In an overlapping sequence detector, the last bit of
one sequence becomes the first bit of the next
sequence.

Non-Overlapping
In a non-overlapping sequence detector, the last bit
of one sequence does not become the first bit of the
next sequence.
Dwumfour Abdullai Aziz Slide 8
PATTERN / SEQUENCE DETECTOR

❑ Design a sequence recognizer that recognizes the


string 101 in the bit sequence 0110101011001.

Using overlapping
Input :0110101011001
Output:0000101010000

Using non overlapping


Input :0110101011001
Output:0000100010000

Dwumfour Abdullai Aziz Slide 9


PATTERN / SEQUENCE DETECTOR
Mealy State Diagram with overlapping

Dwumfour Abdullai Aziz Slide 10


PATTERN / SEQUENCE DETECTOR
Mealy State Diagram with non overlapping

Dwumfour Abdullai Aziz Slide 11


PATTERN / SEQUENCE DETECTOR

State table

Dwumfour Abdullai Aziz Slide 12


PATTERN / SEQUENCE DETECTOR

State table

Dwumfour Abdullai Aziz Slide 13


PATTERN / SEQUENCE DETECTOR
Circuit excitation table

Dwumfour Abdullai Aziz Slide 14


PATTERN / SEQUENCE DETECTOR

❑ Design a sequence recognizer that recognizes three


consecutive 1’s in a sequence of inputs.

Dwumfour Abdullai Aziz Slide 15


END OF SEMESTER

Dwumfour Abdullai Aziz Slide 16

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