In this lab you will use logic gates in a circuit to solve a logical puzzle. Instead of building logic gates using transistors, we will use TTL chips, which have several logic gates in a single chip.
This laboratory is divided between pencil-and-paper exercises, and a physical implementation. Since the implementation is likely to take a full class period, you should complete steps 1 through 3 before the laboratory session.
There is an old puzzle in which a farmer F must transport a wolf W, a
goat G, and a cabbage C across a river. However, the farmer can only
transport one of W, G, or C across the river at a time, and if left
together and unattended, the goat will eat the cabbage and the wolf will eat
the goat. Let F=0 indicate the presence of the farmer on the west bank of
the river and F=1 indicate presence on the east bank. Use similar
definitions for W, G, and C.
F, W, G, and C initially on the west bank and must be transported to the east bank. Use your circuit to check your solution.F, W, G, and C in the same order as they are in your truth table, or be very careful to translate between the two correctly when testing your circuit.TTL chips look approximately like this. They are 14-pin “dual in-line packages” (DIPs), meaning that the chips are long and narrow with 7 pins on each side. Each chip has a small notch in one end for orientation. When the notch is pointed upward as in the diagram, the pins are numbered from 1 to 14 starting in the upper-left corner and proceeding counter-clockwise.

For purposes of your logic design, note we have the following TTL chips available in the lab:
I will provide a pinout diagram, showing what each pin on each chip is for. Please note that the pinout for different chip types (AND, OR, etc) is different.
Please note carefully, that you must connect each chip to power and to ground. It is important that you use the correct pins for this. Reversing power and ground will damage the chip.
Please refer to the protoboard diagram provided in the lab handout, to locate the “channel” between banks of pin connection points. To seat a chip in the protoboard, orient it such that its notch is facing upward as in the diagram, then place its two rows of pins such that they straddle one of the valleys in the board. This helps you attach power and ground to the correct pins, and ensures that none of the pins are connected together.
The chips may take some careful coaxing to seat them properly. I suggest placing one row of pins loosely into their holes in the board, and then using a fingernail to get the other row of pins lined up and started into their holes. Once all pins have been started correctly, you can press firmly, and the chip should snap into place. (Please be gentle until the pins are started well, or they will get bent, but then do press firmly to make sure the chip is fully inserted and that each pin makes a good connection with the board.)
Be careful not to pull chips out of the board at an angle, which could bend or break the pins. Grab the chip at the top and bottom edges (where the chip crosses the channel on the protoboard). If you cannot remove the chip by hand, we can remove it carefully using a small screwdriver.
Recall that these are the resistors you need in your circuit to connect each switch to ground. In the previous lab, and in class notes, we used 15K resistors for this purpose. For this lab, you should use 150 Ohm resistors instead.
Informally, this is because the input pins on a TTL chip are made to “float” to a voltage mid-range between low and high. We can override that with a pull-down resistor connected to ground, but to do so we need to use a resistance that is smaller than that used internally in the chip.
Be sure the logic probe section of your protoboard is set to TTL, not CMOS logic.
Based on the fox, goose, and bag of beans puzzle.