synchronous sequential networks

46
Synchronous Sequential Networks

Upload: holland

Post on 08-Feb-2016

268 views

Category:

Documents


1 download

DESCRIPTION

Synchronous Sequential Networks. Sequential Network Model. Clocked Synchronous Sequential Network. Mealy Model. Outputs are only a function of the external inputs and the present state Z = g(X,Q). Mealy model of a clocked synchronous sequential network. Figure 7.3. Moore Model. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Synchronous Sequential Networks

Synchronous Sequential Networks

Page 2: Synchronous Sequential Networks

Sequential Network Model

Page 3: Synchronous Sequential Networks

Clocked Synchronous Sequential Network

Page 4: Synchronous Sequential Networks

Mealy Model

Mealy model of a clocked synchronous sequential network.Figure 7.3

Outputs are only a function of the external inputs and the present state

Z = g(X,Q)

Page 5: Synchronous Sequential Networks

Moore Model

Moore model of a clocked synchronous sequential network.Figure 7.4

Outputs are only a function of the present state

Z = g(Q)

Page 6: Synchronous Sequential Networks

Analysis of Clocked Synchronous Sequential Networks

• Excitation and Output Expressions

• Transition Equations• Transition Tables• Excitation Tables• State Tables• State Diagrams • Network Terminal Behavior

Page 7: Synchronous Sequential Networks

Logic diagram for Example 7.1

Figure 7.5

Page 8: Synchronous Sequential Networks

Logic diagram for Example 7.2

Figure 7.6

Page 9: Synchronous Sequential Networks

Excitation and Output Expressions

• From example 7.1(7.4) (7.5)

(7.6)

• From example 7.2(7.7) (7.8)

(7.9) (7.10)

(7.11)(7.12)

D1 = xQ2 +Q1Q2

D2 = xQ1 +Q1Q2

z = xQ1 + xQ1Q2

J1 = y

K1 = y + xQ2

J2 = xQ1 + xyQ1

K2 = x y + yQ1

z1 =Q1Q2

z2 =Q1 +Q2

Page 10: Synchronous Sequential Networks

• From example 7.1(7.13)

(7.14)

• From example 7.2 (7.15)

(7.16)

Q1+ = xQ2 +Q1Q2

Q2+ = xQ1 +Q1Q2

Q1+ = yQ1 + x yQ1 + yQ1Q2

Transition Equations

Q2+ = xQ1Q2 + xyQ1Q2 + xyQ2 + xQ1Q2 + yQ1Q2

Page 11: Synchronous Sequential Networks

Transition Table

Present state(Q1Q2)

Next state(Q1

+Q2+)

Output(z)

Input (x) Input (x)0 1 0 1

00011011

10111000

01110000

0011

1000

Example 7.1

Page 12: Synchronous Sequential Networks

Transition Table

Present state(Q1Q2)

Next state(Q1

+Q2+)

Output(z1z2)

Input (xy)00 01 10 11

00011011

00011011

10110100

01000010

11110000

01001101

Example 7.2

Page 13: Synchronous Sequential Networks

Excitation Table

Present state(Q1Q2)

Excitation(D1D2)

Output(z)

Input (x) Input (x)0 1 0 1

00011011

10111000

01110000

0011

1000

Example 7.1

Page 14: Synchronous Sequential Networks

Excitation Table

Present state(Q1Q2)

Excitation(J1K1,J2K2)

Output

(z1z2)

Input (xy)00 01 10 11

00011011

00,0000,0000,0000,00

11,0011,0011,1111,11

01,1100,1101,0100,01

11,1011,1011,0111,01

01001101

Example 7.2

Page 15: Synchronous Sequential Networks

State Table

Present state Next state Output (z)Input (x) Input (x)0 1 0 1

00A01B10C11D

CDCA

BDAA

0011

1000

Example 7.1

Page 16: Synchronous Sequential Networks

State Table

Present state Next state, Output (z)Input (x)

0 1ABCD

C,0D,0C,1A,1

B,1D,0A,0A,0

Example 7.1

Page 17: Synchronous Sequential Networks

State Table

Present state

Next state Output

(z1z2)

Input (xy)00 01 10 11

00A01B10C11D

ABCD

CDBA

BAAC

DDAA

01001101

Example 7.2

Page 18: Synchronous Sequential Networks

State diagram for Example 7.1

Figure 7.7

Page 19: Synchronous Sequential Networks

State diagram for Example 7.2

Figure 7.8

Page 20: Synchronous Sequential Networks

Timing diagram for Example 7.1

Figure 7.9

Page 21: Synchronous Sequential Networks

The analysis procedure

Figure 7.10

Page 22: Synchronous Sequential Networks

Modeling Clocked Synchronous Sequential Network Behavior

• State diagram• State Table• State Table Reduction: Implication table

• Transition table: State Assignment

• Excitation Table• Logic Diagram

Page 23: Synchronous Sequential Networks

The serial binary adder

Figure 7.11

Page 24: Synchronous Sequential Networks

State diagram for a Mealy serial binary adder

Figure 7.12

(a) Partial state diagram

(b) Completed state diagram

Page 25: Synchronous Sequential Networks

State diagram for a Moore serial binary adder

Figure 7.13

Page 26: Synchronous Sequential Networks

A sequence recognizer

Figure 7.14

Page 27: Synchronous Sequential Networks

State diagram for a sequence recognizer

Figure 7.15

Page 28: Synchronous Sequential Networks

A 0110/1001 sequence recognizer

Figure 7.16

Page 29: Synchronous Sequential Networks

State diagram for the final example

Figure 7.17

Page 30: Synchronous Sequential Networks

Experiment for determining equivalent pairs of states

Figure 7.18

Page 31: Synchronous Sequential Networks

The structure of an implication table

Figure 7.19

Page 32: Synchronous Sequential Networks

Implication table for determining the equivalent states of Table 7.13

Figure 7.20

Page 33: Synchronous Sequential Networks

Implication table for determining equivalent states of the 0110/1001 sequence recognizer

Figure 7.21

(a) Initial table (b) Final table

Page 34: Synchronous Sequential Networks

Next-state and output Karnaugh maps for the transition table of Table 7.17b

Figure 7.22

Page 35: Synchronous Sequential Networks

A state-assignment map for the state table of Table 7.17a

Figure 7.23

Page 36: Synchronous Sequential Networks

Guidelines for Obtaining State Assignments

Rule I: Two or more present states that have the same next state for a given input combination should be made adjacent

Rule II: For any present state and two adjacent input combinations, the two next states should be made adjacent

Rule III: Two or more present states that produce the same output symbol (0 or 1) for a given input combination should be made adjacent (only apply to one of the output symbols)

Page 37: Synchronous Sequential Networks

Next-state and output Karnaugh maps for the transition table of Table 7.17c

Figure 7.24

Page 38: Synchronous Sequential Networks

Two approaches to handling unused states. (a) State table. (b) Transition table with don’t-cares for unused states. (c) Next-state maps, output map, and expressions for table of Fig. 7.25b

Figure 7.25

Page 39: Synchronous Sequential Networks

(d) Transition table when unused states cause the network to go to state A. (e) Next-state maps, output map, and expressions for table of Fig. 7.25d

Figure 7.25 cont.

Page 40: Synchronous Sequential Networks

Logic diagram for the excitation table of Table 7.19

Figure 7.26

Page 41: Synchronous Sequential Networks

Excitation and output maps for the excitation table of Table 7.20

Figure 7.27

Page 42: Synchronous Sequential Networks

Logic diagram for the excitation table of Table 7.20

Figure 7.28

Page 43: Synchronous Sequential Networks

Excitation and output maps for the Moore serial binary adder

Figure 7.29

Page 44: Synchronous Sequential Networks

Logic diagram for the Moore serial binary adder

Figure 7.30

Page 45: Synchronous Sequential Networks

General structure of a clocked sequential network realization using a PLD and clocked D flip-flops

Figure 7.31

Page 46: Synchronous Sequential Networks

A clocked synchronous sequential network realization using a PLA and clocked D flip-flops

Figure 7.32