Professional Documents
Culture Documents
203
DIGITAL AND LOGIC SYSTEM DESIGN
SESSION 7 – SEQUENTIAL LOGIC: LATCHES
UNIVERSITY OF GHANA
College of Education
College of Education
School
School ofofContinuing
Continuingandand Distance
Distance Education
Education
2021/2022
2014/2015 – -2016/2017
2022/2023
SEQUENTIAL LOGIC
LATCHES
BISTABLE ELEMENT
The simplest sequential circuit or storage element is a
bistable element, which is constructed with two inverters
connected sequentially in a loop as shown
R
Q
S Q’
Note the position of the S and R compared to the S-R latch with NOR gate has been
swapped
SR NAND latch is level sensitive active low latch: this implies the latch is by default high so
to set the latch (set=0: low, Q=1) and to reset the latch(Reset=0: low, Q’=1)
Dwumfour Abdullai Aziz Slide 18
S-R LATCHES USING NAND GATE
S R Q Q’
0 0 Invalid
0 1 1 0
1 0 0 1
1 1 Memory
0 1 0 1 0
0 1 1 1 0
1 0 0 0 1
1 0 1 0 1
1 1 0 0 1
1 1 1Dwumfour Abdullai
1 Aziz Slide 20 0
GATED SR LATCH
TRUTH TABLE
CHARACTERISTIC TABLE
✧ One of the main disadvantages of the basic S-R NOR Gate bistable
circuit is that the indeterminate input condition of SET = “1” and RESET
= “1” is forbidden.
✧ Similarly S-R NAND Gate has indeterminate input condition of SET=“0”
and RESET=“0” which is forbidden.
✧ In order to prevent this from happening an inverter can be connected
between the “SET” and the “RESET” inputs and replace them with just
one input (D).
✧ This is to ensure that the inputs to the SET and RESET do not have the
same value at the time.
✧ The resulting latch is regarded called D-latch or Data latch
✧ We give rise to another form of latch;
D-Latch using NOR GATE
D-Latch using NAND GATE Dwumfour Abdullai Aziz Slide 27
D LATCHES USING NOR GATE
D Q Q’
0 0 1
1 1 0
D Q Q’
0 0 1
1 1 0
EN
En J K QN
0 0 0 Latch
0 0 1 Latch
0 1 0 Latch
0 1 1 Latch
1 0 0 Latch
1 0 1 0
1 1 0 1
1 1 1 toggle
Dwumfour Abdullai Aziz Slide 40
J K NOR LATCH TRUTH TABLE SUMMARY
En J K QN
0 X X Latch
1 0 0 Latch
1 0 1 0
1 1 0 1
1 1 1 toggle
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
Dwumfour Abdullai Aziz Slide 42 0
GATED J K NAND LATCH
EN
En J K QN
0 0 0 Latch
0 0 1 Latch
0 1 0 Latch
0 1 1 Latch
1 0 0 Latch
1 0 1 0
1 1 0 1
1 1 1 toggle
Dwumfour Abdullai Aziz Slide 44
J K NAND LATCH TRUTH TABLE SUMMARY
En J K QN
0 X X Latch
1 0 0 Latch
1 0 1 0
1 1 0 1
1 1 1 toggle
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
Dwumfour Abdullai Aziz Slide 46 0
GATED J K NAND LATCH
SUMMARY OF TRUTH TABLE