Computer Systems I

Lab 1


Welcome to the digital design lab! Today's task is to build a half-adder -- a simple adding circuit that will be presented during the lab time. You should begin small by constructing the pieces needed, and build your way to the entire half-adder.


Knowing what the toys are

Don't do anything yet! We're going to spend a few minutes going over the various chips, boards, power supplies, and other devices that you'll need to use for this and other labs. Here's a list of the devices you'll be using, and some key information about them:

We may not use all of these parts in the first lab, but you will need a number of them, and eventually you will use all of them and more.


What to build

It is unwise to construct a complete solution without testing its parts along the way. With a large circuit, you want first to construct the smaller circuits that will later compose the large one. With each smaller circuit, you should debug it thoroughly before connecting it to other smaller circuits. That way, you can have some confidence that certain portions of your larger circuit work correctly, reducing the number of possible portions of your circuit that may be designed or constructed in error.

Today, we'll move one part at a time through constructing the half-adder:

  1. Set up a single AND gate by using a 7408 chip. Set up an LED so that you can see the output of this gate. Try all four possible inputs to be sure that it's operating correctly. You've just constructed the circuit the generate the carry bit for your half-adder, where one input is your A value, and the other your B value.
  2. Begin constructing an XOR circuit by using the NOT gates in the 7404 chip. You will want use two gates, one to produce NOT A, and the other to produce NOT B.
  3. Use two more of the AND gates from the same 7408 chip as you used above. To one gate, connect A and NOT B, and to the other NOT A and B.
  4. Finally, bring the outputs of the two AND gates used in the previous step, and connect them as inputs to an OR gate on your 7432 chip. The output of this particular gate is A XOR B, also known as the result bit.
  5. Wire the outputs of these two circuits so that they appear adjacent to other another on an LED. Once you've done that, you have a half-adder!

Finishing up

Be sure to leave yourself a little time to complete the lab! Every week, there are some things you'll have to do whether or not you've completed the assignment.

  1. Demonstrating your work: If you've finished the lab, then you need to show it to the professor or the TA. You won't get credit unless we've seen it work!
  2. Saving your work for another day: First, be sure to label your ETS-7000; Unlabelled work may be dismantled! You need not put it away, since we lack the shelving to have everyone put theirs into storage. However, someone may reasonably move your ETS-7000 during the week. If you move someone else's, please do so carefully.
  3. Cleaning up: When you're done, put away everything and clean up your area. That is, clean up the little bits of wire and insulation, put away the tools, etc. Leave a clean workspace, or else this lab will be a disaster before long, making it a difficult place in which to get work done.

Scott F. H. Kaplan
Last modified: Fri Sep 5 09:44:39 EDT 2008