Digital Circuits
Boolean Algebra
67 questions By Tony R. Kuphaldt
-
Question 55 of 67
The equivalence between NAND gates and Negative-OR gates is something easily verified by an examination of these two gates’ respective truth tables, and is often a starting-point for learning about DeMorgan’s Theorem:

A lesser-known fact is how the equivalence between NAND and Negative-OR gates may be transformed to express an equivalence between two other types of gates, shown here:

Another example is shown here:

Explain how the first equivalence (between the NAND and the Negative-OR gate) was transformed into the latter two equivalences, both in terms of the gate symbols and their respective Boolean expressions. In other words, explain how we can derive the last two examples by manipulating the first example.
Reveal answerThis is a lot like algebraically manipulating equations: doing the exact same thing to both sides of an equation to arrive at a new equation that is more useful to us. I’ll let you figure out the details of how this is done.
Notes:This question is a precursor to having students create combinational gate circuits using nothing but NAND or NOR gates.
-
Question 56 of 67
Suppose we wished to have an AND gate for some logic purpose, but did not have any AND gates on hand. Instead, we only had NOR gates in our parts collection. Draw a diagram whereby multiple NOR gates are connected together to form an AND gate.
Reveal answerI’ll let you figure this one out on your own!
-
Question 57 of 67
NAND and NOR gates both have the interesting property of universality. That is, it is possible to create any logic function at all, using nothing but multiple gates of either type. The key to doing this is DeMorgan’s Theorem, because it shows us how properly applied inversion is able to convert between the two fundamental logic gate types (from AND to OR, and visa-versa).
Using this principle, convert the following gate circuit diagram into one built exclusively of NAND gates (no Boolean simplification, please). Then, do the same using nothing but NOR gates:

Reveal answerUsing nothing but NAND gates:

Using nothing but NOR gates:

Notes:Gate universality is not just an esoteric property of logic gates. There are (or at least were) entire logic systems made up of nothing but one of these gate types! I once worked with a fellow who maintained gas turbine control systems for crude oil pumping stations. He told me that he has seen one manufacturer’s turbine control system where the discrete logic was nothing but NAND gates, and another manufacturer’s system where the logic was nothing but NOR gates. Needless to say, it was a bit of a challenge for him to transition between the two manufacturers’ systems, since it was natural for him to “get used to” one of the gate types after doing troubleshooting work on either type of system.






Question 29, answer 3 has a typo - should be A*B + !(D)*E not A*B+!(D*E)