CHAPTER 5 Synchronous Sequential Logic - PowerPoint PPT Presentation

1 / 58
About This Presentation
Title:

CHAPTER 5 Synchronous Sequential Logic

Description:

Clocked sequential circuits. The storage elements used in clocked ... A clock pulse goes through two transitions from 0 to 1 and the return from 1 to 0. ... – PowerPoint PPT presentation

Number of Views:1103
Avg rating:3.0/5.0
Slides: 59
Provided by: Alo8
Category:

less

Transcript and Presenter's Notes

Title: CHAPTER 5 Synchronous Sequential Logic


1
CHAPTER 5Synchronous Sequential Logic
2
Sequential Circuits
3
Sequential Circuits
  • There are two main types of sequential circuits
    and their classification depends on the timing of
    their signals.
  • A synchronous sequential circuit is a system
    whose behavior can be defined from the knowledge
    of its signals at discrete instants of time.
  • The behavior of an asynchronous sequential
    circuit depends upon the input signals at any
    instant of time and the order in which the inputs
    change.

4
Sequential Circuits
  • A synchronous sequential circuit employs signals
    that affect the storage elements only at discrete
    instant of time.
  • Synchronization is achieved by a timing device
    called a clock generator that provides a periodic
    train of clock pulses.
  • Clocked sequential circuits
  • The storage elements used in clocked sequential
    circuits are called flip-flops. A flip-flop is a
    binary storage device capable of storing one bit
    of information.
  • The outputs can come either from the
    combinational circuit or from the flip-flops or
    both.

5
Synchronous Clocked Sequential Circuit
6
Latches
7
SR Latch with NAND Gates
8
SR Latch with Control Input
9
D Latch
  • One way to eliminate the undesirable condition of
    the indeterminate state in the SR latch is to
    ensure that inputs S and R are never equal to 1
    at the same time.
  • Transparency latch

10
Graphic Symbols for Latches
11
Flip-Flops
  • The D latch with pulses in its control input is
    essentially a flip-flop that is triggered every
    time the pulse goes to the logic 1 level.
  • The state transitions of the latches start as
    soon as the clock pulse changes to the logic 1
    level. The new state of a latch appears at the
    output while the pulse is still active.

12
Flip-Flops
  • The problem with the latch is that it responds to
    a change in the level of a clock pulse.
  • The key to the proper operation of a flip-flop is
    to trigger it only during a signal transition. A
    clock pulse goes through two transitions from 0
    to 1 and the return from 1 to 0.
  • The positive transition is defined as the
    positive-edge and the negative transition as the
    negative-edge.

13
Clock Response in Latch and Flip-Flop
14
Edge-Triggered D Flip-Flop
Negative-Edge-Triggered Flip-Flop
15
Positive-Edge-Triggered Flip-Flop
16
Graphic Symbol for Edge-Triggered D Flip-Flop
  • Setup time, Hold Time, Propagation delay

17
Setup time and Hold Time
18
DFF
19
JK Flip-Flop
  • The J input sets the flip-flop to 1, the K input
    reset it to 0, and when both inputs are enabled,
    the output is complemented. D JQ KQ

20
JKFF
21
JKFF
22
JKFF
23
Frequency Divider
24
Frequency Divider
25
Frequency Divider
26
T Flip-Flop
  • D T ? Q TQ TQ

27
Characteristic Tables and Equations
  • Q(t 1) D (D Flip-Flop)
  • Q(t 1) JQ KQ (JK Flip-Flop)
  • Q(t 1) TQ TQ (T Flip-Flop)

28
Direct Input
0
1
1
0
1
0
29
A(t)x(t)
B(t)x(t)
  • A(t 1) A(t)x(t)
  • B(t)x(t)
  • B(t 1) A(t)x(t)
  • y(t) A(t) B(t)x(t)

30
State Table
31
State Diagram
32
Flip-Flop Input Equations
  • The FF input functions and the circuit output
    functions determine the combinational part of the
    sequential circuit
  • DA Ax Bx
  • DB Ax
  • y (A B)x
  • Output equations and flip-flop input equations

33
DA A ? x ? y
34
Analysis with JK Flip-Flops
Moore Machine
35
State Diagram
36
AB Ax ABx
AB
Bx
Moore Machine
x ? B
x
37
Mealy Machine
38
Simulation Results
39
State Reduction
  • Two FSMs are said to be equivalent if given any
    input sequence, starting from an identical
    initial
  • state, they produce the same output sequence.
  • (1) Find rows in the state table that have
    identical NS
  • and O/P entries. They correspond to
    equivalent
  • states. If there are no equivalent
    states, stop.
  • (2) When 2 states are equivalent, one of them
    can
  • be removed. Update the entries of the
    remaining
  • table to reflect the change. Go to (1).

40
State Reduction
41
State Reduction
42
State Reduction
43
State Assignment
44
State Assignment
45
Flip-Flop Excitation Tables
  • Given the state transition table, we wish to find
    the FF input conditions that will cause the
    required transitions. A tool for such a purpose
    is the excitation table, which can be derived
    from the characteristic table (or equation).
  • The excitation table for the JK flip-flop has
    many dont-cares, which are more likely to result
    in simpler combinational circuits.
  • Many digital systems are constructed entirely
    with JK FFs because they are the most versatile
    available.
  • D FFs are appropriate for applications requiring
    transfer of data (such as shift registers) T
  • FFs are good for those involving complementation
    (such as binary counters) and JK FFs are for
    general use.

46
Design Procedure
  • 1. Circuit behavior (function) description ?
    State diagram
  • 2. Reduce the number of states if necessary
  • 3. Assign binary values to the states (State
    assignment)
  • 4. Obtain the binary-coded state table
  • 5. Choose the type of FFs to be used
  • 6. Derive the simplified flip-flop input
    equations and output equations
  • 7. Draw the logic diagram

47
Sequence Detector
S0 00 S1 01 S2 10 S3 11
48
Maps for Sequence Detector
49
Logic Diagramof Sequence Detector
50
Synthesis Using JK FFs
51
Maps for J and K Input Equations
52
Synthesis Using T FFs
  • Binary counter

53
State Table for 3-Bit Counter
54
Logic Diagram of 3-Bit Binary Counter
55
3-Bit Binary Counter
56
Maps for 3-Bit Counter
57
Logic Diagram of 3-Bit Binary Counter
58
Serial Binary Adder
Write a Comment
User Comments (0)
About PowerShow.com