|
Test
Your EQ #145 Answer
|
Answer
3
Consider
the following majority gate:

If
we fix one of the inputs of the majority gate at logic
"1" and use the other two inputs for A and B, then the
output Y is given by the following truth table:
|
A |
B |
Y = M(A, B, 1) |
|
0 |
0 |
0 |
|
0 |
1 |
1 |
|
1 |
0 |
1 |
|
1 |
1 |
1 |
It's clear that the majority gate functions as a two-input
OR gate when the third input is fixed at logic "1".
When
one of the inputs of the majority gate is fixed at logic
"0", as shown below, the gate functions as a two-input
AND gate.

Contributor:
Naveen PN
Published: August-2002