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:
“The logic of the world is prior to all truth and falsehood.”
—Ludwig Wittgenstein (18891951)
“The press and politicians. A delicate relationship. Too close, and danger ensues. Too far apart and democracy itself cannot function without the essential exchange of information. Creative leaks, a discreet lunch, interchange in the Lobby, the art of the unattributable telephone call, late at night.”
—Howard Brenton (b. 1942)
“I invented the colors of the vowels!A black, E white, I red, O blue, U greenI made rules for the form and movement of each consonant, and, and with instinctive rhythms, I flattered myself that I had created a poetic language accessible, some day, to all the senses.”
—Arthur Rimbaud (18541891)
“Our dreams are a second life. I have never been able to penetrate without a shudder those ivory or horned gates which separate us from the invisible world.”
—Gérard De Nerval (18081855)