Sequential Circuits
Sequential Circuits
Sequential Circuits
Memory Element
Device which can remember value indefinitely, or change value on command from its inputs
D Latch eliminates the undesirable condition of invalid state in the S-R latch
When EN is high
o D = High -> latch is Set
o D = LOW -> latch is RESET
Flip-Flops
Output changes state at a specified point on a triggering input called the clock.
Changes state either at the positive (rising) edge, or at the negative (falling) edge of the clock
signal
Types of flip-flops
oS-R Flip-Flop
oD Flip-Flop
oJ-K Flip-Flop
R = 1, S = 0 -> Q = 0
R = 0, S = 1 -> Q = 1
R = 0 , S = 0 -> No Change
R and S are High -> Invalid
D Flip Flop
D Flip-Flop: Single Input D. On the triggering edge of the clock pulse
D = 1 -> Q = 1
D = 0 -> Q = 0
To convert S-R flip-flop into a D flip-flop, add an inverter.
JK Flip Flop
Given a sequential circuit diagram, we can analyse its behaviour by deriving its state table and hence
its state diagram
Requires state equations to be derived for the flip-flop inputs, as well as output functions for
the circuit outputs other than the flip-flops (if any)
We use A(t) and A(t+1) to represent the present state and next state, respectively of a flip-
flop represented by A
State Table
Given the required transition from present state to next state, determine the flip-flop inputs
Sequential Circuits: Design
Design Procedure:
Memory
Write Operation
Read Operation
Memory Cell