in Digital Logic
22,026 views
47 votes
47 votes

In an $SR$ latch made by cross-coupling two NAND gates, if both $S$ and $R$ inputs are set to $0$, then it will result in

  1. $Q = 0, Q' = 1$
  2. $Q = 1, Q' = 0$
  3. $Q = 1, Q' = 1$
  4. Indeterminate states
in Digital Logic
22.0k views

4 Comments

edited by

(C) is the correct answer!

~Source: Morris Mano

57
57
Can you upload this pdf somewhere and share link please?
0
0
0
0

​​​​​​A good watch!

3
3

9 Answers

70 votes
70 votes
Best answer
Answer should be C. The reasoning is as follows:

When both $R$ and $S$ are set as $0,$ we will get both $Q$ and $Q'$ as $1$ (these must be ideally mutually complementary).  This output will be permanent and is not dependent on any sequence of events but just the input values (so no race condition). But after this state if we enter both $R$ and S as $1,$ the output will be indeterminate depending on which NAND gate processes first (either $Q$ or $Q'$ will become $0$  but we can't determine which (race condition) and it will lead to an indeterminate state.

PS: $R = 0, S = 0$ in an SR latch made by cross coupling $2$ NAND gates will lead to a forbidden state. Forbidden state means, this state is invalid and must not be entered. This is different from an indeterminate state which means a state where we are not sure of the output. Again this is different from a toggling state where the output changes continuously.
edited by

4 Comments

But , in latch , we have no control on the inputs since clock is not used in latch and we can't enter the inputs as our wish . The inputs will be some arbitrary external input through other parts of the circuit, which can be changing any time. so, it will not remain in (1,1) state, instead the state will become indeterminate.
0
0
The output will definetely fluctuate and becomes indeterminate.
0
0
beautifully explained.
0
0
29 votes
29 votes
If both R =0 ,S=0 ,then both Q and Q’ tend to be ‘1’. NAND gate says if both inputs are 1,the output is 0. The logic of the circuit (Q’ is complement of Q) not satisfied, Logic state is said to be indeterminate state or racing state. Each state, Q =‘1’and Q =‘0’, and Q =‘0’, Q=‘1’ trying to race through so “RACE CONDITION” occurs and output become unstable. So ans is (D).

4 Comments

Yes. isn't it SR latch ? If so what it is called then ! Confused !!
0
0

An SR latch (Set/Reset) is an asynchronous device: it works independently of control signals and relies only on the state of the S and R inputs. In the image we can see that an SR latch can be created with two NOR gates that have a cross-feedback loop. SR latches can also be made from NAND gates, but the inputs are swapped and negated. In this case, it is sometimes called an SR latch.

Ref::https://en.wikibooks.org/wiki/Digital_Circuits/Latches

7
7
Does anybody know the answer given in GATE keys? I think there's still confusion between option C and D.
0
0
9 votes
9 votes

SR latch with NAND

invalid state mentioned here is indeterminate state,

what happens in indeterminate state is output keeps of changing between 0 and 1 infinitely

so we can not anything in latch or not decide what is stored in latch thats why the name indeterminate state.

If you want to prove to yourself how latch goes to invalid state, draw diagram,  draw truth table, apply input and see it going infinitely

8 votes
8 votes

Answer: D

Q and Q' will come as 1 each which is an indeterminate state as the outputs are not complementary.

http://en.wikipedia.org/wiki/Flip-flop_(electronics)

3 Comments

reshown by
then why not option c too ??
3
3
isn't it a invalid state,

explain ??
0
0
edited by
0
0
Answer:

Related questions