Latches in Digital Logic - GeeksforGeeks
Latches in Digital Logic - GeeksforGeeks
L atches are basic storage elements that operate with signal levels (rather than signal
transitions). L atches controlled by a clock transition are flip-flops. L atches are level-
sensitive devices. L atches are useful for the design of the asynchronous sequential circuit.
Q Q’ STATE
1 0 Set
0 1 Reset
Under normal conditions, both the input remains 0. The following is the RS L atch with
N AND gates:
We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
site, you acknowledge that you have read and understood our Cookie
If Q = 1, Q and R’ inputs for 2nd N AND gate are both 1.
▲ Policy & Privacy Policy
https://www.geeksforgeeks.org/latches-in-digital-logic/ 1/6
1/11/2021 Latches in Digital Logic - GeeksforGeeks
A s S’=0, the output of 1st N AND gate, Q = 1(SET state). In 2nd N AND gate, as Q and R’
A s R’=0, the output of 2nd N AND gate, Q’ = 1. In 1st N AND gate, as Q and S’ inputs are 1,
Q=0(RESET state).
We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
site, you acknowledge that you have read and understood our Cookie
▲ Policy & Privacy Policy
https://www.geeksforgeeks.org/latches-in-digital-logic/ 2/6
1/11/2021 Latches in Digital Logic - GeeksforGeeks
When S=R=1, both Q and Q’ becomes 1 which is not allowed. So, the input condition is
prohibited.
Gated SR Latch –
A Gated SR latch is a SR latch with enable input which works when enable is 1 and retain
Gated D Latch –
D latch is similar to SR latch with some modifications made. Here, the inputs are
complements of each other. The design of D latch with Enable signal is given below:
We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
Enable D Q(n) Q(n+1) STATE
site, you acknowledge that you have read and understood our Cookie
▲ Policy & Privacy Policy
https://www.geeksforgeeks.org/latches-in-digital-logic/ 3/6
1/11/2021 Latches in Digital Logic - GeeksforGeeks
1 0 x 0 RESE T
1 1 x 1 SE T
0 x x Q(n) No Change
A s the output is same as the input D, D latch is also called as Transparent L atch.
Considering the truth table, the characteristic equation for D latch with enable input can
be given as:
Reference :
Attention reader! Don’t stop learning now. Get hold of all the impor tant CS Theor y
concepts for SDE inter views with the CS Theor y Course at a student-friendly price and
03, Jun 19
Related Articles
We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
site, you acknowledge that you have read and understood our Cookie
▲ Policy & Privacy Policy
https://www.geeksforgeeks.org/latches-in-digital-logic/ 4/6
1/11/2021 Latches in Digital Logic - GeeksforGeeks
Like 8
Previous Next
Ar ticle Contributed By :
lakshmiprabha
@lakshmiprabha
Improved By : manikandan20061999
Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share the link here.
5thbrowsing
We use cookies to ensure you have the best Floor, A-118,
experience on our website. By using our Got It !
Sector-136, Noida,
site, you acknowledge that you have read and understood UttarPolicy
our Cookie
▲
Pradesh - 201305
& Privacy Policy
https://www.geeksforgeeks.org/latches-in-digital-logic/ 5/6
1/11/2021 Latches in Digital Logic - GeeksforGeeks
Company Learn
About Us Algorithms
Careers Data Structures
Privacy Policy Languages
Contact Us CS Subjects
Video Tutorials
Practice Contribute
Courses Write an Article
Company-wise Write Interview Experience
Topic-wise Internships
How to begin? Videos
We use cookies to ensure you have the best browsing experience on our website. By using our Got It !
site, you acknowledge that you have read and understood our Cookie
▲ Policy & Privacy Policy
https://www.geeksforgeeks.org/latches-in-digital-logic/ 6/6