SlideShare a Scribd company logo
Carc 03.03
alessandro.bogliolo@uniurb.it
03. Logic Networks
03.03. Sequential Circuits
• Dealing with feedback
• Finite state machines
• Latches
• Flip flops
• Registers
• Synchronous sequential circuits
Computer Architecture
alessandro.bogliolo@uniurb.it
Carc 03.03
alessandro.bogliolo@uniurb.it
Dealing with feedback
s r y y'
0 0 ? ?
0 1 0 1
1 0 1 0
1 1 0 0
s r y y' y y'
0 0 0 0 1 1
0 0 0 1 0 1
0 0 1 0 1 0
0 0 1 1 0 0
0 1 0 0 0 1
0 1 0 1 0 1
Carc 03.03
alessandro.bogliolo@uniurb.it
Sequential circuits: FSMs
• Finite state machines (FSM): (S,I,O,f,g,s0)
• Output function o=f(s,i)
• Next-state function snext=g(s,i)
• Representation: state diagram
• Classification:
• Combinational f:I  O
• Sequential (Mealy’s) f:SxI  O g:SxI  S
• Sequential (Moore’s) f:S  O g:SxI S
• Asynchronous vs Synchronous
Carc 03.03
alessandro.bogliolo@uniurb.it
Moore’s FSM: example
ON
Light
OFF
Dark
off
on
offon
S = {ON,OFF}
I = {on,off}
O = {Light,Dark}
f: S  O
g: SxI  S
state
out
in
f g
State Input Output Snext
OFF off Dark OFF
OFF on Dark ON
ON off Light OFF
ON on Light ON
Case of a simple power supply system controlled
by an on/off switch and monitored by a led
Carc 03.03
alessandro.bogliolo@uniurb.it
Mealy’s FSM: example
ON OFF
off, D
on, D
off, D
test, D
on, D
test, L
S = {ON,OFF}
I = {on,off,test}
O = {Light,Dark}
f: SxI  O
g: SxI  S
state
in,out
f g
State Input Output Snext
OFF off Dark OFF
OFF on Dark ON
OFF test Dark OFF
ON off Dark OFF
ON on Dark ON
ON test Light ON
Case of a simple power supply system controlled
by an on/off switch and monitored by a led when a
test button is pressed
Carc 03.03
alessandro.bogliolo@uniurb.it
FSMs: example
state input (sr) f g
A 00 01 A
A 01 01 A
A 10 10 B
A 11 00 A
B 00 10 B
B 01 01 A
B 10 10 B
B 11 00 B
Carc 03.03
alessandro.bogliolo@uniurb.it
Latch SR
y y'
y' s r f g
0 0 0 1 0
0 0 1 0 1
0 1 0 1 0
0 1 1 0 0
1 0 0 0 1
1 0 1 0 1
1 1 0 1 0
1 1 1 0 0
In order to use the circuit to store a bit,
we need three input configurations to:
•set y=1 regardless of the current state
•set y=0 regardless of the current state
•keep y unchanged
SETRESET
HOLD
Carc 03.03
alessandro.bogliolo@uniurb.it
Latch SR
y y'
y' s r f g
0 0 0 1 0
0 0 1 0 1
0 1 0 1 0
0 1 1 0 0
1 0 0 0 1
1 0 1 0 1
1 1 0 1 0
1 1 1 0 0
(s,r) = (1,0) SET
(s,r) = (0,1) RESET
(s,r) = (0,0) HOLD
(s,r) = (1,1) NOT ALLOWED
Notice that y’=NOTy for all allowed input
configurations
SETRESET
HOLD
Carc 03.03
alessandro.bogliolo@uniurb.it
Flip Flop SR
Clk S R s r
0 0 0 0 0 HOLD
0 0 1 0 0 HOLD
0 1 0 0 0 HOLD
0 1 1 0 0 HOLD
1 0 0 0 0 HOLD
1 0 1 0 1 RESET
1 1 0 1 0 SET
1 1 1 1 1 NOT ALLOWED
Carc 03.03
alessandro.bogliolo@uniurb.it
Flip Flop D Level Sensitive
Clk D S R s r
0 0 0 1 0 0 HOLD
0 1 1 0 0 0 HOLD
1 0 0 1 0 1 RESET
1 1 1 0 1 0 SET
Carc 03.03
alessandro.bogliolo@uniurb.it
Flip Flop D Edge Triggered
n
Carc 03.03
alessandro.bogliolo@uniurb.it
Registers
...
n-bit register
n
0
1
n-1
Carc 03.03
alessandro.bogliolo@uniurb.it
Synchronous Sequential Circuits
General
Mealy’s
Moore’s
f(s,i)
g(s,i)
f(s,i)
g(s,i)
f(s)g(s,i)

More Related Content

PPT
Lec10 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Mu...
PPTX
mealy and moore machines
DOC
2009-2 기말고사문제(초고주파공학)
DOC
2010-2 기말고사문제(초고주파공학)
PPT
Lect23 Engin112
PPTX
Moore Mealy Machine Conversion
PDF
4.2.4 RC Example 1
PDF
Osc 02
Lec10 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Mu...
mealy and moore machines
2009-2 기말고사문제(초고주파공학)
2010-2 기말고사문제(초고주파공학)
Lect23 Engin112
Moore Mealy Machine Conversion
4.2.4 RC Example 1
Osc 02

What's hot (12)

PPTX
Deep Learning A-Z™: Artificial Neural Networks (ANN) - Gradient Descent
PPT
Ch10 - capacitors 2
PDF
Coeficiente de correlacion lineal 5 1
DOC
전자회로(중간 고사 문제지)2012-2
PPTX
Finite State Machines
PPTX
Finite state machines
PPTX
Project presentatiom
PPTX
Electrostatic forces
DOC
전자회로(중간고사 문제지)2009-2
PPTX
Discharge
PDF
Ch.14.3 Graphing Functions
PPT
Mealy moore machine model
Deep Learning A-Z™: Artificial Neural Networks (ANN) - Gradient Descent
Ch10 - capacitors 2
Coeficiente de correlacion lineal 5 1
전자회로(중간 고사 문제지)2012-2
Finite State Machines
Finite state machines
Project presentatiom
Electrostatic forces
전자회로(중간고사 문제지)2009-2
Discharge
Ch.14.3 Graphing Functions
Mealy moore machine model
Ad

Viewers also liked (13)

PDF
CArcMOOC 03.04 - Gate-level design
PPTX
CodeMOOC2 - Cos'è un'App
PDF
Android Code Camp for Beginners - Ecosistema Android (IT)
PDF
The Europe Code Week (CodeEU) initiative
PDF
CArcMOOC 03.05 - RTL design
PDF
CArcMOOC 04.01 - Von Neumann and CPU micro-architecture
PDF
CArcMOOC 05.03 - Pipeline hazards
PPTX
PDF
CArcMOOC 05.02 - Reference architecture
PDF
CArcMOOC 05.01 - Elementary pipelining and performance metrics
PDF
CArcMOOC 06.04 - Dynamic optimizations
PDF
CodeMOOC2 - Dall'idea alla specifica
PDF
CArcMOOC 06.03 - Multiple-issue processors
CArcMOOC 03.04 - Gate-level design
CodeMOOC2 - Cos'è un'App
Android Code Camp for Beginners - Ecosistema Android (IT)
The Europe Code Week (CodeEU) initiative
CArcMOOC 03.05 - RTL design
CArcMOOC 04.01 - Von Neumann and CPU micro-architecture
CArcMOOC 05.03 - Pipeline hazards
CArcMOOC 05.02 - Reference architecture
CArcMOOC 05.01 - Elementary pipelining and performance metrics
CArcMOOC 06.04 - Dynamic optimizations
CodeMOOC2 - Dall'idea alla specifica
CArcMOOC 06.03 - Multiple-issue processors
Ad

Similar to CArcMOOC 03.03 - Sequential circuits (20)

PPTX
Combinational Logic Concept Powerpoint Presentation
PDF
PPT
PPT 2nd unit course file.ppt
PPT
Chapter5_Digital logic design_digital electronics
PPT
FF and Latches.ppt
PDF
Chapter 3
PPT
chap8 synchronous sequential circuit design.ppt
PPT
19-MooreMealy.ppt
PPT
Ver3 (1).ppt from mahalakshmi college of eng
PPTX
bbbbbbbbbbbbbcsdasdabcddksrekkdkfjdslsdfrd
PPTX
Sequential
PPT
Sequential Logic Design_____________.ppt
PPTX
Digital Fundamental Material for the student
PPT
PPTX
Sometimes tells me funny stories from his childhood
PPT
moore melay of synchronous sequential circuits.ppt
PPT
05_Chapter 6,7,8 - Sequential-design.ppt
Combinational Logic Concept Powerpoint Presentation
PPT 2nd unit course file.ppt
Chapter5_Digital logic design_digital electronics
FF and Latches.ppt
Chapter 3
chap8 synchronous sequential circuit design.ppt
19-MooreMealy.ppt
Ver3 (1).ppt from mahalakshmi college of eng
bbbbbbbbbbbbbcsdasdabcddksrekkdkfjdslsdfrd
Sequential
Sequential Logic Design_____________.ppt
Digital Fundamental Material for the student
Sometimes tells me funny stories from his childhood
moore melay of synchronous sequential circuits.ppt
05_Chapter 6,7,8 - Sequential-design.ppt

More from Alessandro Bogliolo (20)

PDF
AIXMOOC 2.6 - Come funzionano i Large Language Models
PDF
AIXMOOC 6.1 - Non sono un robot (Dom Holdaway)
PDF
AIXMOOC 5.3 - L'essere umano di fronte all'I.A. (Cristiano Maria Bellei)
PDF
AIXMOOC 4.3 - Geopolitica dell'intelligenza artificiale (Alessandro Aresu)
PDF
AIXMOOC 3.3 - Linguaggio e capacità cognitive (Gabriella Bottini)
PDF
AIXMOOC 3.2 - Linguaggio e memoria (Manuela Berlingeri)
PDF
AIXMOOC 4.2 - IA e informazione (Fabio Giglietto)
PDF
AIXMOOC 2.5 - CPU e GPU per Machine Learning (Luca Benini)
PDF
AIXMOOC 5.2 - IA generativa e creatività
PDF
AIXMOOC 3.1 - L'acquisizione del linguaggio (Mirta Vernice)
PPTX
AIXMOOC 4.1 - Comunicare con l'IA (Giovanni Boccia Artieri)
PDF
AIXMOOC 2.4 - Intelligenza artificiale generativa (Mirco Musolesi)
PDF
AIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramento
PDF
AIXMOOC 2.2 - Reti neurali e machine learning (Valerio Freschi)
PDF
AIXMOOC 2.1 - Il modello del neurone (Stefano Sartini)
PDF
AIXMOOC 1.4 - Macchine Calcolatrici e Intelligenza, di A. Turing
PDF
AIXMOOC 5.1 - EU AI Act - Il regolamento europeo (Lucilla Sioli)
PPTX
AIXMOOC 1.2 - Quando le macchine impararono a parlare
PDF
AIXMOOC 1.1 - L'esplosione dell'Intelligenza Artificiale - Introduzione
PDF
BIBMOOC 05.03 - Codici in biblioteca
AIXMOOC 2.6 - Come funzionano i Large Language Models
AIXMOOC 6.1 - Non sono un robot (Dom Holdaway)
AIXMOOC 5.3 - L'essere umano di fronte all'I.A. (Cristiano Maria Bellei)
AIXMOOC 4.3 - Geopolitica dell'intelligenza artificiale (Alessandro Aresu)
AIXMOOC 3.3 - Linguaggio e capacità cognitive (Gabriella Bottini)
AIXMOOC 3.2 - Linguaggio e memoria (Manuela Berlingeri)
AIXMOOC 4.2 - IA e informazione (Fabio Giglietto)
AIXMOOC 2.5 - CPU e GPU per Machine Learning (Luca Benini)
AIXMOOC 5.2 - IA generativa e creatività
AIXMOOC 3.1 - L'acquisizione del linguaggio (Mirta Vernice)
AIXMOOC 4.1 - Comunicare con l'IA (Giovanni Boccia Artieri)
AIXMOOC 2.4 - Intelligenza artificiale generativa (Mirco Musolesi)
AIXMOOC 2.3 - Modelli di reti neurali con esperimenti di addestramento
AIXMOOC 2.2 - Reti neurali e machine learning (Valerio Freschi)
AIXMOOC 2.1 - Il modello del neurone (Stefano Sartini)
AIXMOOC 1.4 - Macchine Calcolatrici e Intelligenza, di A. Turing
AIXMOOC 5.1 - EU AI Act - Il regolamento europeo (Lucilla Sioli)
AIXMOOC 1.2 - Quando le macchine impararono a parlare
AIXMOOC 1.1 - L'esplosione dell'Intelligenza Artificiale - Introduzione
BIBMOOC 05.03 - Codici in biblioteca

Recently uploaded (20)

PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PPTX
master seminar digital applications in india
PDF
Sports Quiz easy sports quiz sports quiz
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Types and Its function , kingdom of life
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Institutional Correction lecture only . . .
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
Insiders guide to clinical Medicine.pdf
PDF
Basic Mud Logging Guide for educational purpose
PDF
Pre independence Education in Inndia.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Microbial diseases, their pathogenesis and prophylaxis
Module 4: Burden of Disease Tutorial Slides S2 2025
master seminar digital applications in india
Sports Quiz easy sports quiz sports quiz
2.FourierTransform-ShortQuestionswithAnswers.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Cell Types and Its function , kingdom of life
Final Presentation General Medicine 03-08-2024.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
human mycosis Human fungal infections are called human mycosis..pptx
Institutional Correction lecture only . . .
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Insiders guide to clinical Medicine.pdf
Basic Mud Logging Guide for educational purpose
Pre independence Education in Inndia.pdf
Anesthesia in Laparoscopic Surgery in India
102 student loan defaulters named and shamed – Is someone you know on the list?

CArcMOOC 03.03 - Sequential circuits