2. Basic Gates
Feel free to use your laptop
You are strongly encourage to work with others
When you get stuck, ask those sitting around you for help
Get used to working together in the labs
Peer teaching and peer learning has been empirically shown to be very effective
For these questions, feel free to use a single Digital workspace for all the circuits. However, label each circuit with labelled rectangles. These are components that can be found under Components -> Misc. -> Decoration -> Rectangle.
Where possible, each question should have complete tests. The test component can be found under Components -> Misc. -> Test case. Once a test component is placed on the workspace, right click on the component to edit the test data.
Questions may have restrictions on the logic gates that may be used. When restrictions are stated, they only apply to the gates; inputs, outputs, wires, etc. may be still be used.
2.1. Creating Gates with Universal Operators
For these questions, although only a single gate type may be used, feel free to use as many copies of these gates as needed.
2.1.1. NAND
Using only
NAND, create a circuit that performsNANDThis circuit is intentionally trivial
Using only
NAND, create a circuit that performsNOTUsing only
NANDandNOT, performANDUsing only
NANDandNOT, performORUsing only
NANDandNOT, performNOR
2.1.2. NOR
Using only
NOR, create a circuit that performsNORThis circuit is intentionally trivial
Using only
NOR, create a circuit that performsNOTUsing only
NORandNOT, performORUsing only
NORandNOT, performANDUsing only
NORandNOT, performNAND
2.2. From Truth Tables
For these questions, first create the truth table if one is not already provided.
Using at least one
NOT, create a circuit that performs the following\(A\)
\(O\)
0011Using only
ORandNOT, create a circuit that always outputs1, regardless of the inputDo not use a voltage source or a ground component
\(A\)
\(O\)
0111Using only
ANDandNOT, create a circuit that always outputs0, regardless of the inputDo not use a voltage source or a ground component
\(A\)
\(O\)
0010Using only
AND,OR, andNOT, create a circuit that performsXORUsing only a single
ANDand a singleOR, create a circuit that performs \((a \lor b) \land (a \lor c)\)Using only a single
ANDand a singleOR, create a circuit that performs the followingThis circuit must have two inputs connected
Here, the
Xsignifies that the state of \(B\) does not matterIn other words, the circuit should function as described, regardless of the state of \(B\)
\(A\)
\(B\)
\(O\)
0X01X1Complete the following truth table and implement the functionality using only
AND,OR, andNOT\(a\)
\(b\)
\(\lnot b\)
\(a \land b\)
\(a \land \lnot b\)
\(\lnot(a \land b)\)
\(\lnot(a \land b) \lor (a \land \lnot b)\)