edited by
2,958 views
10 10 votes

Consider the digital circuit shown below with two input lines $\text{A}$ and $\text{B}$, two select lines $\text{S0}$ and $\text{S1}$, and an output line $\text{Y}$. The blocks $\text{Q}$ and $\text{M}$ represent active high $2:4$ decoder and $4$-to-$1$ multiplexer, respectively. Out of $16$ possible input combinations, the number of combinations that produce $\mathrm{Y}=1$ is $\_\_\_\_\_\_$ (answer in integer)

Note: One input combination is an instance of [$\text{A B S1 S0}$].

5 Answers

13 13 votes

Easiest and simplest way to solve these kind of Question is this 

edited ago by
7 7 votes
$D0 = A'B' \quad \&  \quad D3=AB$

$So : Y= \bar A \bar B \bar S_1 \bar S_0 + 0 \bar S_1 S_0 +  \underbrace {1S_1 \bar S_0}_{\text{This gives 4 more outputs}}+  A B S_1 S_0$

             $ = \bar A \bar B \bar S_1 \bar S_0 + \begin{aligned}
\bar A \bar B S_1 \bar{S}_0 \\
\bar A B S_1 \bar{S}_0 \\
A \bar B S_1 \bar{S}_0 \\
AB S_1  \bar S_0
\end{aligned} + A B S_1 S_0 $

$So, answer$ $is$ $6$
moved by
2 2 votes

Since its an active high decoder it will make exactly one of its output lines  1 (high) for any given input

ABS1S0Y
0000D0
00010
00101
0011D3
0100D0
01010
01101
0111D3
1000D0
10010
10101
1011D3
1100D0
11010
11101
1111D3

 

the given circuit gives 1 for input combination

0 0 0 0 ( D0 will be in active high state)

0 0 1 0 ( 1 )

0 1 1 0 ( 1 )

1 0 1 0 ( 1 )

1 1 1 0 ( 1 )

1 1 1 1 ( D3 will bw in active high state)

therefore the answer is 6

2 2 votes
The answer is $\boxed{6}$.

$A, B, S1, S0$ is the function.

Now, we have to get $D0$ to get input $0$ in the multiplexer. So, we have only one choice for $AB=00$ and $S1S0=00$. For this combination, the output is $1$.

$ABS1S0=0000$

So, there is only $1$ choice.

Now, we have to get $D3$ to get input $3$ in the multiplexer. So, we have only one choice for $AB=11$ and $S1S0=11$. For this combination, the output is $1$.

$ABS1S0=1111$

So, there is only $1$ choice.

Now, as we can see in the MUX, when $S1S0=10$, the output is $1$. For this, we don't care what $AB$ is. For $A$, there are two choices, and for $B$, there are two choices.

$ABS1S0=XX10$

For this combination, the total number of choices is $2\times2=4$.

Therefore, to get $Y=1$, we have a total of $1+1+4=\boxed{6}$.

\[
\begin{array}{|c|c|c|c|}
\hline
S1S0 & \text{MUX input} & \text{Condition on }AB & \text{Combinations}\\
\hline
00 & D0 & AB=00 & 1\\
\hline
01 & 0 & - & 0\\
\hline
10 & 1 & AB=XX & 4\\
\hline
11 & D3 & AB=11 & 1\\
\hline
\text{Total} & & & \boxed{6}\\
\hline
\end{array}
\]
Answer:
Position:
Show:

Related questions

11 11 votes
2 2 answers
2.0k
2.0k views
gatecse asked Feb 23
1,971 views
The $32$-bit $\text{IEEE}$ $754$ single precision representation of a number is $0\text{xC}2710000$. The number in decimal representation is $\_\_\_\_$. (rounded off to t...
10 10 votes
3 3 answers
1.8k
1.8k views
gatecse asked Feb 23
1,839 views
Consider the following $4$-variable Boolean function\[F(A, B, C, D)=\Sigma m(0,1,2,3,8,9,10,11)\]Consider $A$ as MSB, $D$ as LSB. Which one of the following options repre...
15 15 votes
7 7 answers
1.8k
1.8k views
gatecse asked Feb 23
1,783 views
Which one of the following options is not a property of Boolean Algebra?Note: ${+}$ is OR operation, $\cdot$ is AND operation, and ${\prime}$ is NOT operation$a+b=b+a$$a ...
7 7 votes
5 5 answers
2.3k
2.3k views
gatecse asked Feb 23
2,284 views
In a system, numbers are represented using $4$-bit two's complement form. Consider four numbers $N 1=1011, N 2=1101, N 3=1010$ and $N 4=1001$ in the system. Which of the ...