You will once again use the TTL chips to build circuits. Please remember to:
You can find a TTL pinout diagram printed in the cabinet or in this pdf.
Remember also that it can help to label the coordinates of your physical wires on your circuit diagrams.
Using the logic diagram below, build a full adder on your protoboard.
Plan carefully; you will need to leave space to build a multiplexor from a decoder on your board in the next two parts of the lab.

Test your circuit using the truth table in Figure B.5.3 (p. B-27) of your textbook.
One way to think of a decoder is a binary to unary converter: the two input bits specify a binary number. That number determines which output line is turned on, while the rest are off.
Don’t disassemble your decoder—you will use it in the next step to build a four-input multiplexer.
Turn your two-bit decoder into a four-input multiplexer by adding four two-input AND gates and three two-input OR gates, as follows.
Use the two inputs to your decoder as the selector lines. Use four logic switches as your multiplexer input (for now). Connect each input to an AND gate, along with one of the decoder outputs. Connect all the AND gate outputs to a four-input OR gate, which you will have to construct from two-input OR gates. The logisim circuit below shows this circuit, using your existing decoder:

Now that you have a one-bit adder and a four-input multiplexor, complete your ALU with AND and OR gates. Use the selector in your multiplexor to choose between addition (selector at 00), logical AND (selector at 01), and logical OR (selector at 10).
If you still have time, add a binvert input so that your ALU can subtract as well as add.
b and binvert as inputs, draw the truth table for a one-bit selector whose inputs are $b$ and $\overline{b}$ with the binvert control signal. (You should find the resulting circuit to be simpler than a general one-bit selector with two independent inputs.)binvert and carry_in inputs and test that your ALU implements subtraction correctly.