Unit 4�Sequential Logic Circuit
1
2
S-R flip flop
3
S-R flip flop Timing Diagram
4
Drawback of SR Flip Flop
5
Clocked S-R flip flop
6
JK Flip Flop
7
JK Flip Flop
The operation of JK flip flop
Race Around Condition
8
Master Slave JK flip flop
9
Master Slave JK flip flop
10
D Flip Flop
11
D Flip Flop Timing Diagram
12
Timing Diagram of T Flip Flop
13
Difference between Asynchronous and Synchronous Counters
Asynchronous | Synchronous |
In this type of counter flip flop are connected in such a way that output of first flip flop connected to the clock of next flip flop | In this type of counter there is no connection between output of first flip flop and the clock of next flip flop |
All the flip flops are not clocked simultaneously | All the flip flops are clocked simultaneously |
Logic circuit is very simple | Logic circuit is complex |
Draw is their low speed | They have high speed |
14
Difference between Asynchronous and Synchronous Counters
Ripple Counter: Ripple counter is an Asynchronous counter. It got its name because the clock pulse ripples through the circuit. An n-MOD ripple counter contains n number of flip-flops and the circuit can count up to 2n values before it resets itself to the initial value.
These counters can count in different ways based on their circuitry.
UP COUNTER: Counts the values in ascending order.�DOWN COUNTER: Counts the values in descending order.�UP-DOWN COUNTER: A counter which can count values either in the forward direction or reverse direction is called an up-down counter or reversible counter.�DIVIDE by N COUNTER: Instead of a binary, we may sometimes require to count up to N which is of base 10. Ripple counter which can count up to value N which is not a power of 2 is called Divide by N counter.
15
4 bit ripple/ Asynchronous up counter
Circuit Diagram
Timing Diagram
16
Truth Table
Count | Output | |||
| Q A | QB | QC | QD |
0 | 0 | 0 | 0 | 0 |
1 | 1 | 0 | 0 | 0 |
2 | 0 | 1 | 0 | 0 |
3 | 1 | 1 | 0 | 0 |
4 | 0 | 0 | 1 | 0 |
5 | 1 | 0 | 1 | 0 |
6 | 0 | 1 | 1 | 0 |
7 | 1 | 1 | 1 | 0 |
8 | 0 | 0 | 0 | 1 |
9 | 1 | 0 | 0 | 1 |
10 | 0 | 1 | 0 | 1 |
11 | 1 | 1 | 0 | 1 |
12 | 0 | 0 | 1 | 1 |
13 | 1 | 0 | 1 | 1 |
14 | 0 | 1 | 1 | 1 |
15 | 1 | 1 | 1 | 1 |
17
4 bit Ripple/Asynchronous Down Counter
Circuit Diagram
18
Ripple/Asynchronous Up/Down Counter
19
Truth table for Ripple/Asynchronous Up/Down Counter
20
4 bit Serial in Parallel Out
21
4 bit Serial in Parallel Out
22
4 bit Serial in Serial Out
You may think what’s the point of a SISO shift register if the output data is exactly the same as the input data. Well this type of Shift Register also acts as a temporary storage device or it can act as a time delay device for the data, with the amount of time delay being controlled by the number of stages in the register, 4, 8, 16 etc or by varying the application of the clock pulses. Commonly available IC’s include the 74HC595 8-bit Serial-in to Serial-out Shift Register all with 3-state outputs.
23
Shift Registers
24
Shift Registers
25
4 bit Parallel in Parallel Out
26
4 Bit Parallel In Serial Out
27
Universal Shift Register