WK 2 Class 1 - Sequential Circuits Part 3
WK 2 Class 1 - Sequential Circuits Part 3
Part 3
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 1
The Key Takeaways Obtained So Far
● SR Latch
● Truth Table
● Trigger
● Level Trigger and Edge Trigger
● SR Flip Flop
● Truth Table, Characteristics Table and Excitation Table
● D Flip Flop
● Truth Table, Characteristics Table and Excitation Table
● JK Flip Flop
● Truth Table, Characteristics Table and Excitation Table
● Racing Problem
● Master Slave JK Flip Flop
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 2
T FLIP FLOP
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 3
T Flip Flop
We can place entire logic circuits inside boxes
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 4
T Flip Flop
We can place all entire logic circuits inside boxes
Only the input and output pins will be shown
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 5
T Flip Flop
● We will construct a T flip flop from JK flip flop
● T stands for toggle. It will only toggle the content (Q) stored inside
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 6
T Flip Flop
● We will construct a T flip flop from JK flip flop
● T stands for toggle. It will only toggle the content (Q) stored inside
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 7
T Flip Flop
● What are the possible inputs of J and K now?
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 8
T Flip Flop
● The Three Tables T
C
1 1 Qn’ 1 0 1 1 0 1
1 1 0 1 1 0
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 9
T Flip Flop
● The Three Tables T
C
1 1 Qn’ 1 0 1 1 0 1
1 1 0 1 1 0
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 10
FLIP FLOP CONVERSION
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 11
Flip Flop Conversion
The following steps can be followed for flip flop conversion
1. Identify the available flip flop and the required flip flop
2. Make the characteristic table for the required flip flop.
3. Make the excitation table for the available flip flop.
4. Extend the characteristics table
5. Write the Boolean expression for the available flip flop
6. Draw the circuit
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 12
Flip Flop Conversion
Let us perform the following conversions
● JK Flip Flop to D Flip Flop
● T Flip Flop to D Flip Flop
● SR Flip Flop to JK Flip Flop
● SR Flip Flop to T Flip Flop
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 13
PRESET AND CLEAR INPUTS
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 14
Preset and clear inputs
● Let us consider the following SR Flip Flop for understanding
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 15
Preset and clear inputs
● Let us consider the following SR Flip Flop for understanding
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 16
Preset and clear inputs
● Let us consider the following SR Flip Flop for understanding
Preset
Clear
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 17
Preset and clear inputs
● Let us consider the following SR Flip Flop for understanding
Preset
Clear
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 18
Preset and clear inputs
● Let us consider the following SR Flip Flop for understanding
Preset
Preset Clear Qn
0 0 Not Used
0 1 1
1 0 0
1 1 Normal
Functioning
Clear
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 19
Preset and clear inputs
● Let us consider the following SR Flip Flop for understanding
Preset
Clear
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 20
STATE DIAGRAMS
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 21
State Diagrams
● What is a state?
● In a sequential circuit we will find inputs – A,B,C
● In a sequential circuit we will find outputs – F,E
● In a sequential circuit we will find states
●Q
● Qn
● Qn+1
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 22
State Diagrams
● Let us start by making the state diagram of a JK flip flop
Characteristic Table
How the state changes based on input
Qn J K Qn+1
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 1
1 1 1 0
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 23
State Diagrams
● Let us start by making the state diagram of a JK flip flop
Characteristic Table
1x
How the state changes based on input
Qn J K Qn+1
0 0 0 0
0x
0 0 1 0 x0
S0 S1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 0 x1
1 1 0 1
1 1 1 0
Monday, March 27, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 24
Thank You
Sunday, March 26, 2023 Lec Md Shadman Aadeeb, Dept of CSE, UIU 25