Docsity

Sequential Circuits-Digital Logic Design-Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Sequential Circuits-Digital Logic Design-Lecture Slides and more Slides Digital Logic Design and Programming in PDF only on Docsity!

Lecture

Sequential Circuits

Topics

^

Sequential Circuit Analysis

^

Sequential Circuit Design

^

Designing with D Flip-Flops

^

Designing with JK Flip-Flops

Analysis of Sequential Circuits

^

Earlier we learned how to analyzecombinational circuits

^

Now extend to synchronous sequential

^

We’ll use 1.^

state tables and

1.^

state tables and

2.^

state diagrams

Review: Flip Flops

Input Equations

^

Can describe inputs to FF with logic equations

(^

CY

XB

J^ A

=^

(^

C

BY

K^

A^

Another Example

(^

BX

AX

D

A^

X

A

D

=^

X

A

D

B^

X

B

A

Y^

(^

Time is Implied

^

Note that last circuit used the^ 

Previous state to determine next state  State and inputs to determine output

^

Synchronous circuit

^

When are transitions?

State Table

^

Just truth table with state added

^

A sequential circuit with m’ FF andn’ inputsneeds 2

m+n

rows in state table.

)

(^

BX AX DA^

=^

XA DB^

=^

XB A Y^

) (^

=

docsity.com

State Diagram:^ Mealy Model

^

An alternativerepresentation toState Table

Input/Output

Input

Output

Input/Output

State Diagram:

Moore

^

Alternative representation for state table

State/Output

Inputs

State/Output

Analysis with JK Flip Flops

^

For circuits with other types of flip flops suchas JK, the next state values are obtained byfollowing the two step procedure: 1.^

Obtain the binary values of each flip-flop inputequation in terms of the present state and inputvariables.variables.

2.^

Use the corresponding flip-flop characteristic todetermine the next state.

Analysis with JK Flip Flops

^

JA = B ^

JB = x’ ^

KA = Bx’ ^

KB = A’x + Ax’ = A

⊕

x

JK Analysis State Table

Flip Flop Inputs

^

JA^

= B ^

JB^

= x’ ^

KA

= Bx’ ^

KB

= A’x + Ax’ = A

⊕

x

JK Analysis State Diagram

00

11

1 0

0

0

1

0

01

10 1

1

0