edited by
774 views
1 votes
1 votes

The following binary values were applied to the $\mathrm{X}$ and $\mathrm{Y}$ inputs of the NAND latch shown in the figure in the sequence indicated below:
\[ \mathrm{X}=0, \mathrm{Y}=1 ; \quad \mathrm{X}=0, \mathrm{Y}=0 ; \quad \mathrm{X}=1, \mathrm{Y}=1 \text {.} \]

The corresponding stable $\mathrm{P}, \mathrm{Q}$ outputs will be

  1. $\mathrm{P}=1, \mathrm{Q}=0 ; \qquad \mathrm{P}=1, \mathrm{Q}=0 ; \qquad \qquad \qquad \qquad \mathrm{P}=1, \mathrm{Q}=0$ or $\mathrm{P}=0, \mathrm{Q}=1$
  2. $\mathrm{P}=1, \mathrm{Q}=0 ; \qquad \mathrm{P}=0, \mathrm{Q}=1$ or $\mathrm{P}=0, \mathrm{Q}=1; \; \quad \mathrm{P}=0, \mathrm{Q}=1$
  3. $\mathrm{P}=1, \mathrm{Q}=0 ; \qquad \mathrm{P}=1, \mathrm{Q}=1 ; \qquad \qquad \qquad \qquad\mathrm{P}=1, \mathrm{Q}=0$ or $\mathrm{P}=0, \mathrm{Q}=1$
  4. $\mathrm{P}=1, \mathrm{Q}=0 ; \qquad \mathrm{P}=1, \mathrm{Q}=1 ; \qquad \qquad \qquad \qquad  \mathrm{P}=1, \mathrm{Q}=1$
edited by

1 Answer

0 votes
0 votes

In this question Nand gate delays not mentioned, so I am assuming 2 Nand gates have unequal delays. 

 

According to Latch functionality, the output of which gate is faster (i.e less delay) will affect the output of slower gate (i.e more delay). 

 

So we are taking two different delays and observing the output sequences: 

 

Case 1: 

 

Upper NAND gate is faster (i.e less delay) and whenever it gives output, i.e P, that output will immediately go to the input side of belwo Nand gate and then we will get the output from below gate i.e Q 

 

So we are applying the input sequence 

XY = 01 --> 00 --> 11 

 

And we got the output sequence as : 

PQ = 10 --> 11 --> 01 

 

The output sequence is shown below: 

 

 

 

 

Case 2: 

 

Now we are taking upper NAND gate is slower and lower NAND gate is faster. So lower one i.e output Q will generate first and then it will go to the input side of upper Nand gate and we will get the output P. 

 

So we are applying the input sequence 

XY = 01 --> 00 --> 11 

 

And we got the output sequence as : 

PQ = 10 --> 11 --> 10 

 

 

 

 

 

So option C is correct.