synchronous sequential networks

Post on 08-Feb-2016

255 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

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

Synchronous Sequential Networks

Sequential Network Model

Clocked Synchronous Sequential Network

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)

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)

Analysis of Clocked Synchronous Sequential Networks

• Excitation and Output Expressions

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

Logic diagram for Example 7.1

Figure 7.5

Logic diagram for Example 7.2

Figure 7.6

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

• 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

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

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

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

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

State Table

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

00A01B10C11D

CDCA

BDAA

0011

1000

Example 7.1

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

State Table

Present state

Next state Output

(z1z2)

Input (xy)00 01 10 11

00A01B10C11D

ABCD

CDBA

BAAC

DDAA

01001101

Example 7.2

State diagram for Example 7.1

Figure 7.7

State diagram for Example 7.2

Figure 7.8

Timing diagram for Example 7.1

Figure 7.9

The analysis procedure

Figure 7.10

Modeling Clocked Synchronous Sequential Network Behavior

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

• Transition table: State Assignment

• Excitation Table• Logic Diagram

The serial binary adder

Figure 7.11

State diagram for a Mealy serial binary adder

Figure 7.12

(a) Partial state diagram

(b) Completed state diagram

State diagram for a Moore serial binary adder

Figure 7.13

A sequence recognizer

Figure 7.14

State diagram for a sequence recognizer

Figure 7.15

A 0110/1001 sequence recognizer

Figure 7.16

State diagram for the final example

Figure 7.17

Experiment for determining equivalent pairs of states

Figure 7.18

The structure of an implication table

Figure 7.19

Implication table for determining the equivalent states of Table 7.13

Figure 7.20

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

Figure 7.21

(a) Initial table (b) Final table

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

Figure 7.22

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

Figure 7.23

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)

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

Figure 7.24

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

(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.

Logic diagram for the excitation table of Table 7.19

Figure 7.26

Excitation and output maps for the excitation table of Table 7.20

Figure 7.27

Logic diagram for the excitation table of Table 7.20

Figure 7.28

Excitation and output maps for the Moore serial binary adder

Figure 7.29

Logic diagram for the Moore serial binary adder

Figure 7.30

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

Figure 7.31

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

Figure 7.32

top related