Docsity

Sequential Networks Implementation: Mealy and Moore Machines, Slides of Digital Systems Design

Partial preview of the text

Download Sequential Networks Implementation: Mealy and Moore Machines and more Slides Digital Systems Design in PDF only on Docsity!

Sequential Networks:

Implementation

Implementation

• Format and Tool

• Procedure

• Excitation Tables

• Example

Moore Machine: yi(t) = fi(X(t), S(t)) Mealy Machine: yi(t) = fi(S(t))

si(t+1) = gi(X(t), S(t))

C1 C

CLK

x(t)

y(t)

Mealy Machine

C1 C

CLK

x(t) y(t)

Moore Machine

s(t) s(t)

Canonical Form: Mealy and Moore

Machines

C1 C

CLK

x(t)

y(t)

Sequential Network Implementation:

Format and Tool

Canonical Form: Mealy & Moore machines

State Table  Netlist

Tool: Excitation Table

s(t) (^) D(t) = h(x(t), S(t))

y(t) = f(x(t), S(t))

Implementation: Procedure

• State Table: y(t) = f(Q(t), x(t)) Q(t+1) =

h(x(t),Q(t))

• Excitation Table:

» D(t) = eD(Q(t+1), Q(t)); » T(t) = eT(Q(t+1), Q(t)); » S, R, J, K

• From 1 & 2, we derive

» D(t) = gD(Q(t), x(t)); » T = gT(Q(t), x(t)); » S,R,J,K.

• Use K-Map to derive optional combinational

logic implementation.

  • T(t) = gT(Q(t), x(t))
  • y(t) = f(Q(t), x(t))

State table of a JK flip flop:

Q(t) 1 Q(t+1)

JK

Excitation table for a JK F-F:

PS
NS

Q(t)

Q(t+1)

JK

If Q(t) is 1, and Q(t+1) is 0, then JK needs to be 0-.

Excitation Table

PS
NS

Q(t)

JK Q(t+1)

Excitation Tables:

PS
NS

Q(t)

D Q(t+1)

PS
JK

Q(t) Q(t+1)

JK 10 1 1

PS
D

Q(t) Q(t+1)

D

State Tables:

Excitation Tables and State Tables

Implementation: Example

Implement a JK F-F with a T F-F

PS
JK

Q(t)

Q(t+1) = h(J(t),K(t),Q(t)) = J(t)Q(t)+K(t)Q(t)

JK 10 1 1

State Table

Q
Q’
C
J
K T

0 2 6 4

1 3 7 5 Q(t)

J

T(J,K,Q): K

T = K(t)Q(t) + J(t)Q’(t)

Q
Q’
J
K
T

Example: Implement a JK flip-flip using a T flip-flop