Alternatives
If a specific type of gate is not available, it can be constructed from other available gates. An XOR gate can be trivially constructed from an XNOR gate followed by a NOT gate. If we consider the expression, we can construct an XOR gate directly using AND, OR and NOT gates. However, this approach requires four gates of three different kinds.
An XOR gate can be made from four NAND or five NOR gates in the configurations shown below. In fact, both NAND and NOR gates are so-called "universal gates," and any logical function can be constructed from either NAND logic or NOR logic alone.
Read more about this topic: XOR Gate
Famous quotes containing the word alternatives:
“Clearly, society has a tremendous stake in insisting on a womans natural fitness for the career of mother: the alternatives are all too expensive.”
—Ann Oakley (b. 1944)
“The literal alternatives to [abortion] are suicide, motherhood, and, some would add, madness. Consequently, there is some confusion, discomfort, and cynicism greeting efforts to find or emphasize or identify alternatives to abortion.”
—Connie J. Downey (b. 1934)
“The last alternatives they face
Of face, without the life to save,
Being from all salvation weaned
A stag charged both at heel and head:
Who would come back is turned a fiend
Instructed by the fiery dead.”
—Allen Tate (18991979)