Logic Function With XOR and AND Gates
- O1 = I1 XOR S
- O2 = I2 XOR S
with S = (I1 XOR I2) AND C
It can also be implemented by the following logic:
- O1 = (NOT C AND I1) OR (C AND I2) = CI1+CI2
- O2 = (C AND I1) OR (NOT C AND I2) = CI1+CI2
- Cout= Cin
Read more about this topic: Fredkin Gate
Famous quotes containing the words logic, function, and and/or gates:
“There is no morality by instinct.... There is no social salvationin the endwithout taking thought; without mastery of logic and application of logic to human experience.”
—Katharine Fullerton Gerould (18791944)
“Uses are always much broader than functions, and usually far less contentious. The word function carries overtones of purpose and propriety, of concern with why something was developed rather than with how it has actually been found useful. The function of automobiles is to transport people and objects, but they are used for a variety of other purposesas homes, offices, bedrooms, henhouses, jetties, breakwaters, even offensive weapons.”
—Frank Smith (b. 1928)
“When man
enters woman,
like the surf biting the shore,
again and again,
and the woman opens her mouth in pleasure
and her teeth gleam ...”
—Anne Sexton (19281974)
“Drugs bring us to the gates of paradise, then keep us from entering.”
—Mason Cooley (b. 1927)