
- Which of the two latches is active high and which is active low?
- Which of the two latches is the “bad” latch? Clearly justify your answer.
Masthead · rightTDEB-AD-MAST-RGrab this slot: early bird pricing
Semiconductors. Chips and Systems. Innovation.
Indexed by leading Search Engines, AI and referenced by Engineers worldwide 500+ Articles 10M+ Pageviews 30+ Reports 50+ Citations

A semiconductor product leader working across product architecture, definition, strategy, and silicon and software execution, from concept through volume production. He has worked with teams across Asia, Europe and the USA, including at Intel, Infineon and ArrayComm.
His work covers ASICs, SoCs, FPGAs and chiplets for wireless, wireline, automotive, IoT and AI, including PCIe, CXL and DDR interfaces alongside RF and mixed-signal design.
2 Comments
Your comments will be moderated before it appears here.
Post a Comment
In both circuits, the AND gate and the negator and NAND at the bottom form an RS latch. The top input is ~R and the bottom ~S. In Latch A, S=~CLK and R=~D*~CLK. It is therefore active low. In Latch B, the CLK is negated the other way round, so it is active high.
ReplyDeleteWhen D is low and CLK is active, both ~R and ~S will be low. In the stable state that's no problem: Q will be low, as it should. But what happens during CLK transitions?
During the inactive-to-active edge, if S were asserted before R, there might be a glitch. That doesn't seem to be a problem, due to the purpose of the circuit. But during the active-to-inactive edge, if R is released before S, the latch will retain the wrong state.
More specifically, the problem appears at the AND gate. Its input will transition from {1,0} to {0,1}. They have to do it through {0,0}, not {1,1}, for proper operation. It depends on the physical implementation, but if gate delays happen to be equal, only Latch B will accomplish that.
Hope I can get the job :) . BTW, great blog!
Andres u r wrong because both r latches(follows level triggering) which is given in the problem and your concept includes edge triggering which occurs in flip flops.
ReplyDeleteMy view is that A is active low and B is active high. In D latch :
Table1.
CLK D Q(n+1)
1. 0 X Q(n) no change
2. 1 1 1 set
3. 1 0 0 reset
Latch B satisfy above table and it is active high as o/p changes when clock is high.
In latch A:
Table2.
CLK D Q(n+1)
1. 1 X Q(n)
2. 0 0 0
3. 0 1 1
, so it is active low because o/p changes in absence of clock.
And which one is a bad latch ....?? ans is LATCH A because it contradicts standard table(table1) for D latch. So my dear friend if u have any query , mail me at unikxocizm@gmail.com