







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Lab12: Sequential Logic Memory Elements: Latches and Flip-Flops
Please Note that all your written and practical work will be evaluated by the Teaching Assistant / Instructor
A. Pre-Lab Tasks (Have to be completed before coming to Lab)
Ans: Combinational Circuitthe type of circuits in which the output depends purely on the present inputs (i.e.; no feedback). Example: a half adder module.
Sequential Circuitthe type of circuits in which the output depends not only on the present input but also on the past inputs (i.e.: there is a feedback of output on the input through a memory element). Example: a 3 state lock, Intelligent Traffic Control.
Ans: Synchronous Sequential Logic the type of logic which changes its state on the periodic tick of clock is called synchronous sequential logic.
Asynchronous Sequential Logic the type of logic which expresses its memorizing effects by aperiodic ticking of the clock.
Figure 1 logic Diagram
Truth Table
S R Q Q’
1 0 0 1
1 1 0 1
0 1 1 0
1 1 1 0
0 0 Not allowed
6. What are the set and reset conditions for SR and S’R’ Latches?(0.5 Marks)
For SR latch
If Reset = 1, then 0 is stored in memory If Reset = 0, then 1 is stored in memory
For S’R’ latches
If Set = 0, then 1 is stored in memory If Set = 1, then 0 is stored in memory
For S’R’ latch both inputs cannot be 0 simultaneously.
For a NAND gate, if there is at least one 0, the output goes to 1. If we give zero to both NAND gates then output of both will be 1, which contradicts the definition of Q & Q’.
For SR latch both inputs cannot be 1 simultaneously.
For a NOR gate, if there is at least one 1, the output goes to 0. If we give 1 to both NOR gates then output of both will be 0, which contradicts the definition of Q & Q’.
We can control this problem by using an enable input and another input labeled as D.
We couple the ENABLE input with D and COMPLEMENT OF D .So in every case inputs will be the complement of each other. Enable allows the state of memory element to be changed. Changing enable to zero does not change state of memory element.
Figure 2 D-latch with Enable
D - LATCH
For implementation of above circuit we would need six NAND gate.
Figure 4 Graphic Symbol
Characteristics Table:
Q(t) D Q(t+1)
0 0 0
0 1 1
1 0 0
1 1 1
If we complement the line coming from clock then we would be able to modify above circuit as Negative-Edge-Triggered circuit.
\ Note: - Viva Marks = 05 Marks