A combinational logic circuit with three inputs W, X, Y produces output 1 if and only if an odd number of inputs is 1. Show its truth table.
Advertisements
Question
A combinational logic circuit with three inputs W, X, Y produces output 1 if and only if an odd number of inputs is 1. Show its truth table.
Numerical
Advertisements
Solution
The output F is 1 when an odd number of inputs (1 or 3) are 1. Otherwise, the output is 0.
|
W |
X |
Y |
F(W,X,Y) |
|---|---|---|---|
|
0 |
0 |
0 |
0 |
|
0 |
0 |
1 |
1 |
|
0 |
1 |
0 |
1 |
|
0 |
1 |
1 |
0 |
|
1 |
0 |
0 |
1 |
|
1 |
0 |
1 |
0 |
|
1 |
1 |
0 |
0 |
|
1 |
1 |
1 |
1 |
shaalaa.com
Is there an error in this question or solution?
