Sequential Logic Design - Lecture Slides | ECE 474A, Study notes of Electrical and Electronics Engineering

Material Type: Notes; Professor: Lysecky; Class: Computer-Aided Logic Design; Subject: Electrical & Computer Engr; University: University of Arizona; Term: Unknown 2006;

Typology: Study notes

Pre 2010

Uploaded on 08/31/2009

koofers-user-o2l
koofers-user-o2l 🇺🇸

10 documents

1 / 16

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Digital Design
Copyright ©2006
Frank Vahid
ECE 474a/575a
Susan Lysecky
1of 48
ECE 474A/57A
Computer-Aided Logic Design
Lecture 3
REVIEW - Sequential Logic Design
Digital Design
Copyright ©2006
Frank Vahid
ECE 474a/575a
Susan Lysecky
2of 48
Sequential Circuits
Output based on inputs as well as previous
inputs (state)
Previously learned how to store data which
can store “state” of circuit (Registers)
Two categories of sequential circuits
Synchronous – clock used to control
operation of circuit
Asynchronous – no clock
We’ll focus on synchronous sequential
circuits
A sequential circuit that controls Boolean
outputs based on Boolean inputs and a
specific time-ordered behavior is often
called a controller
Controller
clk
bx
Sequential Circuit Design (Controllers)
Digital Design
Copyright ©2006
Frank Vahid
ECE 474a/575a
Susan Lysecky
3of 48
Outputs: x
OnOff
x=0 x=1
clk^
clk^
Off On Off On Off On Of f On
cycle 1
Off OffOn On
cycle 2 cycle 3 cycle 4
clk
stat e
x
Outp u t s:
State Diagram or Finite-State
Machine (FSM)
A way to describe desired behavior of
sequential circuit
List states, and transitions among
states
Example: Make x toggle (0 to 1, or 1
to 0) every clock cycle
Two states
Off (x=0)
On (x=1)
Transition from Off to On, or On to
Off, on rising clock edge
Arrow with no starting state points to
initial state (when circuit first starts)
** clk^ denotes rising edge of the clock
Describing Behavior of Sequential Circuit: FSM
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download Sequential Logic Design - Lecture Slides | ECE 474A and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

1 of 48

ECE 474A/57A

Computer-Aided Logic Design

Lecture 3

REVIEW - Sequential Logic Design

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

2 of 48

ƒ Sequential Circuits

ƒ Output based on inputs as well as previous

inputs (state)

ƒ Previously learned how to store data which

can store “state” of circuit (Registers)

ƒ Two categories of sequential circuits

ƒ Synchronous – clock used to control

operation of circuit

ƒ Asynchronous – no clock

ƒ We’ll focus on synchronous sequential

circuits A sequential circuit that controls Boolean

outputs based on Boolean inputs and a specific time-ordered behavior is often called a controller

Controller

clk

b x

Sequential Circuit Design (Controllers)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

3 of 48

Outputs: x

Off On

x=0 x=

clk^

clk^

Off On^ Off On^ Off On Off On

cycle 1

Off On Off On

clk cycle 2^ cycle 3^ cycle 4

state

x

Outputs:

ƒ State Diagram or Finite-State

Machine (FSM)

ƒ A way to describe desired behavior of

sequential circuit

ƒ List states, and transitions among

states

ƒ Example: Make x toggle (0 to 1, or 1

to 0) every clock cycle

ƒ Two states

ƒ Off (x=0) ƒ On (x=1)

ƒ Transition from Off to On, or On to

Off, on rising clock edge

ƒ Arrow with no starting state points to

initial state (when circuit first starts)

** clk^ denotes rising edge of the clock

Describing Behavior of Sequential Circuit: FSM

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

4 of 48

Off Off Off Off OffOn1On2 On3Off

clk

State Outputs:

Inputs:

x

b

On1 On2 On

Off

clk ^

clk ^

x=1 x=1 x=

x=

clk ^

b’•clk ^

b•clk ^

Outputs: x

Inputs: b

ƒ Laser Timer

ƒ When button pressed (b=1), turn laser on (x=1) for 3 clock cycles

ƒ Four states

ƒ Off state ƒ Keep laser turned off ƒ While b=0 (b’), we are in a wait state ƒ When b=1 and rising clock edge (b • clk^), transition to On1 state ƒ On1 state ƒ Turns laser on (x=1) ƒ On next rising clock edge (clk^) transition to On2 state ƒ On2/On3 state ƒ Also turns laser on (x=1) ƒ Transitions on next rising clock edge

ƒ So x=1 for three cycles after button

pressed

FSM Example: Three-Cycles High Laser Timer

Controller x

b

clk

laser

patient

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

5 of 48

ƒ Detect if two inputs in a row are

equal to 1

ƒ 0, 0, 1, 0, … - invalid pattern

ƒ 0, 1, 1, 0, … - pattern detected

ƒ 0, 1, 1, 1, … - pattern detected

twice

ƒ Can describe as FSM

ƒ State A - Wait state looking for

first “1” on input

ƒ State B - Looking for second “1”

on input

ƒ State C - Detected two “1”s in a

row

Outputs: z

A B
C

clk^ • w

clk^ • w’

z=

z=0 clk^ • w z=

Inputs: w

clk^ • w’

clk^ • w’

clk^ • w

A B A B CABCC

clk

State

Inputs:

Outputs:

w

z

FSM Example: Two Inputs in a Row are One

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

6 of 48

Note: Transition with no associated condition, on next clock cycle goes to next state.

ƒ Showing rising clock on every transition:

cluttered

ƒ Make implicit -- assume every edge has

rising clock, even if not shown

ƒ What if we wanted a transitionwithout a

rising edge

ƒ We don’t consider such asynchronous

FSMs -- less common, and advanced topic

ƒ Only consider synchronous FSMs --

rising edge onevery transition

On1 On2 On

Off

clk^

clk^

x=1 x=1 x=

x=

clk^

b’•clk^

b•clk^

Outputs: x

Inputs: b

On1 On2 On

Off

x=1 x=1 x=

x= b’

b

Outputs: x

Inputs: b

FSM Simplification: Rising Clock Edges Are Implicit

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

10 of 48

ƒ State Table

ƒ Encoding states

ƒ Can’t store word “Off” in state register so we must encode it ƒ Ensure every state has a unique encoding ƒ We have 4 states, so we need 2 bits to uniquely identify each state

ƒ Fill in table the appropriate state

encodings

On1 On2 On

Off

x=1 x=1 x=

x=

b’

b

Inputs Outputs s1 s0 b n1 n0 x

Off^0

On1^0

On2^1

On3^1

00

(^01 10 )

State Table Example: Laser Timer (cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

11 of 48

ƒ State Table

ƒ Next state

ƒ Based on current state and FSM input what is the next state?

ƒ FSM Output

ƒ Output depends on current state only (Moore FSM) ƒ For each state we are currently in, what is the output?

On1 On2 On

Off

x=1 x=1 x=

x= b’

b

Inputs Outputs s1 s0 b n1 n0 x 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

Off

On

On

On

00

(^01 10 )

State Table Example: Laser Timer (cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

12 of 48

ƒ How does choice of flip-flop impact

the state table?

ƒ Different ways to store a bit

ƒ D flip-flop - Input value determines output value ƒ SR flip-flop - Two inputs S (set) and R (reset) that determines output value

ƒ We usually use D flip-flop

ƒ Simpler

ƒ Area not as big a concern

Combinational logic

State register

s1 s

n

n

b x

clk

FSM inputs FSM outputs

S (^) Q’ R Q

SR flip-flop

D Q’ Q

D flip-flop

S = 0, R = 0 then Q = Q S = 0, R = 1 then Q = 0 S = 1, R = 0 then Q = 1 S = 1, R = 1 is invalid

D = 1 then Q = 1 D = 0 then Q = 0

Flip-flop Choice Impacts the State Table

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

13 of 48

Create an FSM (state diagram) that describes the desired behavior of the circuit

Step 1: Capture the FSM

Create the standard architecture by using a state register of appropriate width, and combinational logic with inputs being the state register bits and the FSM inputs, and outputs being the next state bits and the FSM outputs

Step 2: Create the architecture

Assign a unique binary number to each state. Each binary number representing a state is know as an encoding. Any encoding will do as long as they are unique.

Step 3: Encode the states

Create a truth table for the combinational logic such that the logic will generate the correct FSM output and next state signals. Ordering the inputs with state bits first make the truth table describe the state behavior, giving us a state table.

Step 4: Create the state table

Implement the Implement the combinational logic using any method. combinational logic

Step 5:

Step Description

(Condensed) Controller Design Process

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

14 of 48

ƒ Example: Laser Timer

ƒ Step 1: Capture the FSM

ƒ Already done

ƒ Step 2: Create architecture

ƒ Customize generic controller architecture

to our system

ƒ State Register ƒ 2-bit state register (for 4 states) ƒ s1, s0 – current state bits ƒ n1, n0 – next state bits ƒ FSM Input ƒ Button signal b ƒ FSM Output ƒ Laser control x

On1 On2 On

Off

x=1 x=1 x=

x= b’

b

x

clk State register

n

n

Combinational logic

s1 s

b

FSM inputs FSM outputs

Controller Design: Laser Timer

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

15 of 48

ƒ Step 3: Encode the states

ƒ Any encoding with each state unique

will work

ƒ Step 4: Create state table

ƒ Done this already

On1 On2 On

Off

x=1 x=1 x=

x= b’

b

00

01 10 11

Inputs Outputs s1 s0 b n1 n0 x 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

Off

On

On

On

Controller Design: Laser Timer (Cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

19 of 48

Inputs: x; Outputs: b

On1 On2 On

Off

x=1 x=1 x=

x= b’

b

ƒ All our FSMs had initial state

ƒ But our sequential circuit designs

did not

ƒ Can accomplish using flip-flops with

preset/clear inputs

ƒ Shown circuit initializes flip-flops to 01

ƒ Designer must ensure reset input is

1 during power up of circuit

ƒ By electronic circuit design

D Q

P C

D (^) Q

State register clk

reset

s1 s

n

n

b x Combinational logic

Initial State of a Controller

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

20 of 48

Representations of Finite State Machines

ƒ Different ways to represent same

functionality

ƒ Graphical

ƒ State Table

ƒ Formal

ƒ Able to convert among different

representations

On1 On2 On

Off

x=1 x=1 x=

x= b’

b

00

(^01 10 )

0 0 0 1

0 0 1 0 1 0

1 1 1 1 1 1

1 1 0 0 0 0

1 1

Inputs Outputs s1 s0 b n1 n0 x 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1

Off

On

On

On

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

21 of 48

ƒ FSM defined by quintuple

ƒ M = (X, Y, S, δ, λ, so )

ƒ X is the input alphabet

ƒ Y is the output alphabet

ƒ S is a finite set of states

ƒ δ is the transition function, δ: X x S→S

ƒ Given and input and state, what is the

next state

ƒ λ is the output funciton, λ: S → Y

ƒ Mealy FSM, λ: X x S → Y

ƒ so is the initial state

On1 On2 On

Off

x=1 x=1 x=

x=

b’

b

Outputs: x

Inputs: b

FSM Formal Definition

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

22 of 48

ƒ Formally specify the Laser Timer FSM

ƒ M = (X, Y, S, δ, λ, so )

On1 On2 On

Off

x=1 x=1 x=

x= b’

b

Outputs: x

Inputs: b

FSM Formal Definition – Example 1

LaserTimer = (X, Y, S, δ, λ, qo), where

X is the input alphabet

X = {0, 1}
Y = {0, 1}

Y is the output alphabet

S = {Off, On1, On2, On3}

S is a finite set of states

δ(Off, 0) = Off, δ(Off, 1) = On δ(On1, 0) = On2, δ(On1, 1) = On δ(On2, 0) = On3, δ(On2, 1) =On δ(On3, 0) = Off, δ(On3, 1) = Off δ^ is the transition function,^ δ: X x S→S Given and input and state, what is the next state λ(Off) = 0, λ(On1) = 1, λ(On2) = 1, λ(On3) = 1 λ is the output funciton, λ: S → Y so = Off

s (^) o is the initial state

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

23 of 48

FSM Formal Definition - Example 2

ƒ Given formal specification of ThreeOnes

FSM convert to graphical representation

x=0 x=0 x=

x=

One Two Three

Zero

ThreeOnes = (X, Y, S, δ, λ, qo), where

X = {0, 1}

Y = {0, 1}

S = {Zero, One, Two, Three}

δ(Zero, 0) = Zero, δ(Zero, 1) = One δ(One, 0) = Zero, δ(One, 1) = Two δ(Two, 0) = Zero, δ(Two, 1) = Three δ(Three, 0) = Zero, δ(Three, 1) = Three

λ(Zero) = 0, λ(One) = 0, λ(Two) = 0, λ(Three) = 1

q (^) o = Zero

Inputs: a Output: x

a’

a

a’

a

a

a’ a

a’

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

24 of 48

ƒ Previously associated output with

current state

ƒ Moore FSM

ƒ Another type associates output with

both the state and the FSM input

(transitions)

ƒ Mealy FSM

ƒ Example: Soda dispenser

ƒ Input

ƒ enough - indicates when sufficient

money deposited

ƒ Output

ƒ d - releases a soda

ƒ clear - zeros device counting money

deposited

Moore FSM

Inputs: enough (bit) Outputs: d, clear (bit)

Wait

Disp

Init (^) enough’

enough

d= clear=

d=

Mealy FSM

Inputs: enough (bit) Outputs: d, clear (bit)

Init Wait

enough/d=1 enough’

/d=0, clear=

Outputs not explicitly assigned on a transition are implicitly assigned a 0. Assignment to 0 still listed if it is key to the FSM’s behavior

Mealy vs. Moore FSM

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

28 of 48

Inputs: b; Outputs: s1, s0, p

Time

Alarm

Date

Stpwch

b’/s1s0=00, p= b/s1s0=00, p=

b/s1s0=01, p=

b/s1s0=10, p=

b/s1s0=11, p=

b’/s1s0=01, p=

b’/s1s0=10, p=

b’/s1s0=11, p=

Inputs: b; Outputs: s1, s0, p

Time

S

Alarm

b

b

b

b

s1s0=00, p= s1s0=00, p=

s1s0=01, p=

s1s0=01, p=

s1s0=10, p= s1s0=10, p=

s1s0=11, p=

s1s0=11, p=

S

Date

S

Stpwch

S

b’

b’

b’

b’

Mealy

Moore

A: Mealy on left, Moore on

right

  • Mealy outputs on arcs, meaning outputs are function of state AND INPUTS
  • Moore outputs in states, meaning outputs are function of state only

Q: Which is Moore, and

which is Mealy?

Which One is Which: Moore vs. Mealy

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

29 of 48

Inputs: b; Outputs: s1, s0, p

Time

Alarm

Date

Stpwch

b’/s1s0=00, p= b/s1s0=00, p=

b/s1s0=01, p=

b/s1s0=10, p=

b/s1s0=11, p=

b’/s1s0=01, p=

b’/s1s0=10, p=

b’/s1s0=11, p=

Mealy

ƒ Beeping Wristwatch

ƒ Button b

ƒ Sequences mux select liness1s0 through

00, 01, 10, and 11 ƒ Each value displays different internal register ƒ Each unique button press should cause 1-

cycle beep, withp = 1 causing the beep

ƒ Must wait for button to be released (b’)

and pushed again (b) before sequencing

ƒ Mealy pulsesp on arc

ƒ Benefit: We’ll see it requires less states

than Moore FSM

ƒ Tradeoff: Mealy FSM’s pulse onp may not

last one full cycle

Mealy FSM Example: Beeping Wristwatch

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

30 of 48

Inputs: b; Outputs: s1, s0, p

Time

S

Alarm

b

b

b

b

s1s0=00, p=

s1s0=00, p=

s1s0=01, p= s1s0=01, p=

s1s0=10, p=

s1s0=10, p=

s1s0=11, p=

s1s0=11, p=

S

Date

S

Stpwch

S

b’

b’

b’

b’

Moore

ƒ Beeping Wristwatch using Moore

FSM

ƒ Moore FSM needs separate state to

pulsep

ƒ Benefit: pulse on p lasts one full

clock cycle

ƒ Tradeoff: greater number of states

required

Moore FSM Example: Beeping Wristwatch

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

31 of 48

ƒ Implementing a Mealy FSM

ƒ Same steps as a Moore FSM

ƒ Capture the FSM

ƒ Create the architecture

ƒ Encode the states

ƒ Create the state table

ƒ Derive equations for each output,

implement the combinational

logic

ƒ Key difference from Moore

ƒ FSM output are based on state

and FSM inputs

ƒ May have different value in same

state, depending on input values

Inputs: enough (bit) Outputs: d, clear (bit)

Init Wait

enough/d=1 enough’

/d=0, clear=

Implementing a Mealy FSM

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

32 of 48

ƒ Capture the FSM

ƒ Done!

ƒ Create the architecture

ƒ Inputs – enough

ƒ Outputs – d, clear

ƒ State register – 2 states, 1-bit

Inputs: enough (bit) Outputs: d, clear (bit)

Init Wait enough’ enough/d=

/d=0, clear=

d

clk State register

Combinational clear logic

s

enough

FSM inputs FSM outputs n

Implementing a Mealy FSM Example 1

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

33 of 48

s0 enough n0 d clear

ƒ Encode the states

ƒ Use minimum-width binary

encoding

ƒ Create the state table

ƒ This is where it differs from a

Moore implementation

ƒ FSM output are based on

state and FSM inputs

ƒ May have different value in

same state, depending on

input values

Inputs: enough (bit) Outputs: d, clear (bit)

Init Wait enough’ enough/d=

/d=0, clear=

(^0 )

Init

Wait

Inputs Outputs

Implementing a Mealy FSM Example 1 (cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

37 of 48

ƒ Converting a Mealy to a Moore FSM

b’

S1 (^) a=

a=

What happens when bc’? go to state S output a = 1

go to state S output a = 1

State S What happens when b’?

S
S

b’ / a=

bc’ / a=1 bc / a=

What happens when bc? go to S output a = 0

State S0 already associated with a = 1!

Replicate state, new state’s output is a = 0

S

bc’

S0B

bc

a=

A

Converting a Mealy to a Moore FSMs

Template 2

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

38 of 48

ƒ Convert the following Mealy FSM to a Moore FSM

in wait state output 00

when start signal received, counts 01, 10, 11

waits for start signal before repeating count

What does FSM do?

S1 S

S

/ ab=

/ ab=

start’ / ab = 00

Outputs: a,b

Inputs: start

start / ab = 01

Converting a Mealy to a Moore FSMs Example

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

39 of 48

ƒ Convert the following Mealy FSM to a Moore FSM

go to state S output ab = 00

State S What happens when start’?

S1 S

S

/ ab=

/ ab=

start’ / ab = 00

Outputs: a,b

Inputs: start

start / ab = 01

S0 (^) start’ ab = 00

S

start

ab = 01

go to state S output ab = 01

What happens when start?

Converting a Mealy to a Moore FSMs Example

(cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

40 of 48

ƒ Convert the following Mealy FSM to a Moore FSM

State S Don’t care what input start value is

S1 S

S

/ ab=

/ ab=

start’ / ab = 00

Outputs: a,b

Inputs: start

start / ab = 01

go to state S output ab = 10

S ab=

S

S0 (^) start’

start

ab = 00

ab = 01

Converting a Mealy to a Moore FSMs Example

(cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

41 of 48

ƒ Convert the following Mealy FSM to a Moore FSM

go to state S output ab = 11

State S Don’t care what input start value is

S1 S

S

/ ab=

/ ab=

start’ / ab = 00

Outputs: a,b

Inputs: start

start / ab = 01

S1 S

S

ab=

start’

start

ab = 00

ab = 01

a

ab=

S0b

State S0 already associated with ab = 00!

Replicate state, new state’s output is a = 11

Converting a Mealy to a Moore FSMs Example

(cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

42 of 48

ƒ Convert the following Mealy FSM to a Moore FSM

State S0b What happens when start’?

S1 S

S

/ ab=

/ ab=

start’ / ab = 00

Outputs: a,b

Inputs: start

start / ab = 01

S1 S

S ab=

ab=

start’

start

S0b ab = 00

ab = 01

a

go to state S output ab = 00 (this is S0a)

start’

start

go to state S output ab = 01

What happens when start?

Converting a Mealy to a Moore FSMs Example

(cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

46 of 48

ƒ Converting the following Moore FSM to a Mealy FSM

go to state S output a = 1

State S We don’t care what input value b is equal to

b’

S

a=

S

b

S

a=

a=

b’ (^) b

b’ / a = 1

S
S

b / a = 1

S

b’ / a = 1 b / a = 0

/ a = 1

Converting a Moore to a Mealy FSMs Example

(cont’)

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

47 of 48

Inputs: b; Outputs: s1, s0, p

Time

Alarm

Date

Stpwch

b’/p=

b/p=

s1s0=

s1s0= b/p=

b/p=

s1s0=

b/p=

s1s0=

b’/p=

b’/p=

b’/p=

Combined

Moore/Mealy

FSM for beeping

wristwatch

example

ƒ Final note on Mealy/Moore

ƒ May be combined in same FSM

Mealy and Moore FSMs Can be Combined

Digital Design Copyright © 2006 Frank Vahid

ECE 474a/575a Susan Lysecky

48 of 48

Summary

ƒ FSM Representations

ƒ Graphical – State Diagram (states & transitions)

ƒ Text - State Table

ƒ Formal Model, M = (X, Y, S, δ, λ, so )

ƒ Controller design process

ƒ FSM specification to hardware

ƒ Moore vs. Mealy FSM

ƒ Specification

ƒ Timing

ƒ Conversion between Moore and Mealy