logic design - chapter 7: sequential circuit analysis and design

36
1 Chapter 7 Sequential Circuit Analysis and Design

Upload: gouda-mando

Post on 17-Nov-2014

618 views

Category:

Education


0 download

DESCRIPTION

- CLASSIFICATION OF COUNTERS. - RIPPLE COUNTERS (ASYNCHRONOUS COUNTERS). - 3-bit Asynchronous Binary counter. - COUNT SEQUENCE . - DOWN COUNTERS. - DESIGN OF DIVIDE – BY – N COUNTERS. - BCD RIPPLE (DECADE) COUNTER. - SYNCHRONOUS COUNTERS. - SYNCHRONOUS BINARY DOWN-COUNTER. - UP/DOWN SYNCHRONOUS COUNTERS.

TRANSCRIPT

Page 1: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

1

Chapter 7

Sequential Circuit Analysis and Design

Page 2: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

2

Characteristic ( Function ) tables of the four types of flip-flops

design

analysis

(Q(t),Q (t+1)) S-R

Page 3: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

3

excitation table of SR flip – flop

Page 4: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

4

excitation tables of all types of flip-flops

Page 5: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

5

BASIC DEFINITIONS OF SEQUENTIAL CIRCUITS Sequential circuit

Any digital circuit with memory due to feedback, particularly a circuit with latches or flip-flops is a sequential circuit

Page 6: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

6

Moore Circuits In a Moore circuit, the outputs are function of the

present state only, i.e.; function of flip-flops outputs

Page 7: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

7

Mealy Circuits In a Mealy circuit, the output is a function of both

the present state and the external inputs

Page 8: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

8

Counters A counter is a sequential circuit that goes

through a prespecified sequence of states upon the application of input pulses

Page 9: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

9

State Diagram The sequence of states of a sequential circuit,

along with the external input and the output of the circuit, can be represented graphically using a state diagram

Page 10: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

10

ANALYSIS OF A SEQUENTIAL CIRCUIT

get the flip-flops input functions: RA =B’ x , SA = BX’ , RB = AX’ , SB = A’ x , also get the output function)s( : Y = A’ x

BB

Page 11: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

11

Page 12: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

12

ANALYSIS OF A SEQUENTIAL CIRCUIT

:

RA =B’ x , SA = BX’ , RB = AX’ , SB = A’ x , Y=A’x Make the state table of the circuit as follows

Page 13: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

13

ANALYSIS OF A SEQUENTIAL CIRCUIT Draw the state diagram for the circuit

Page 14: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

14

Analysis of synchronous counters Starting at QC QB QA = 000, what sequence does

the synchronous circuit of three D flip-flops shown in figure)53( step through ?

Page 15: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

15

Page 16: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

16

Step1: FF input (excitation) functions DA = Q’A DB = QC QA + QB Q’A + QB Q’C = QA Q’C + Q’A QC +

Q’A QB + QB Q’C DC = QB )QA QC ( = QA Q’C QB + Q’A QC QB

Page 17: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

17

STEP2: State table DA = Q’A DB = QC QA + QB Q’A + QB Q’C DC = QA Q’C QB + Q’A QC QB

Page 18: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

18

The resulting sequence of states 

Page 19: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

19

STEP 3: State diagram

Self starting

Self correcting

Page 20: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

20

DESIGN OF SEQUENTIAL CIRCUITS Design a clocked sequential circuit with

the given state diagram. Use JK flip-flops.

0

Page 21: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

21

Excitation table 0

Page 22: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

22

Karnaugh map

Page 23: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

23

Logic diagram

Page 24: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

24

Design with unused states Design a sequential circuit to satisfy the state

diagram shown in figure)57(. Use SR flip-flops. Treat the unused states as do not care conditions.

Page 25: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

25

Excitation table :

Page 26: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

26

Karnaugh map

Page 27: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

27

Karnaugh map

Page 28: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

28

Logic diagram

Page 29: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

29

Effect Of The Unused States Analyze the sequential circuit obtained and

determine the effect of the unused states The unused states are : 000 , 110 , 111. We can

solve this problem like any analysis problem Flip-flops input functions

Page 30: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

30

Draw the state table of the unused states

Page 31: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

31

State diagram

The circuit is self- starting and self-correcting.

Page 32: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

32

Design of counters Design a counter with the following binary

sequence and repeat ( 0,1,2, 4,5,6 ). Use J K flip flops.

Page 33: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

33

Excitation table :

Page 34: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

34

JA=B KA = B

JB = C JC = B‘

Page 35: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

35

Effect of the two unused states :

State table

Page 36: Logic Design - Chapter 7: Sequential Circuit Analysis and Design

36

State diagram of the counter