advertisement

Experiment 1 Basic Logic Gates Implementation Using the Logic Training Kit Introduction: There is a quotation stated by Confucius. We present it here as a very practical statement on how the human mind approaches the learning process: I hear, and I forget. I see, and I remember. I do, and I understand. -- Confucius Welcome to the Digital logic lab. We hope that you have an enjoyable and enlightening experience. Objectives: Get introduced to the Logic Training Kit. Operate logic gates such as AND, OR, NOT, NAND, NOR, XOR. Understand the operation of each gate by deriving its truth table. Derivation of Boolean Algebra and DeMorgan`s Theorem. Procedure: Part 1: Check & Compare Elementary Functions : Figure 1 Connect the input of an AND port to two switches. Connect its output to a LED (Light Emitting Diode). Power the module with +5Vdc. Carry out the four possible combinations (00, 01, 10, 11) with the switches and observe the state of the LED. Compare the obtained results with the truth table. Leave inputs floating. What is the status of the LED? What do you observe? Repeat the above procedures with the following gates in Figure 2: NOT, OR, NAND, NOR, XOR, XNOR. Compare the truth tables of AND & NAND, OR & NOR, XOR & XNOR, What do you observe? Figure 2 CPE 0907234 Digital logic lab Prepared by: Eng. Ala`a Arabiyat Page 1 of 2 Part 2:Boolean Algebra: Connect the inputs of the following gates in Figure 3 to a switch, Vcc, or GND; connect the output to a LED. Figure 3 Fill Table 1 with the appropriate result. A 0 1 Y0 Y1 Y2 Y3 Table 1 Write the Boolean equations for Y0 through Y3. Repeat the procedures using OR gates instead of AND gates and fill your result to a table similar to that in Table 1. Part 3: DeMorgan`s Theorem: Build the circuit shown in Figure 4 on the Kit. Figure 4 Fill Table 2 with the appropriate result. A 0 0 1 1 B 0 1 0 1 V W X Y Table 2 Specify the equations of X & Y, Are they equal? What do you infer from this part? What is the other DeMorgan's theorem? Part 4: Implement Multi-input Gates: Construct a 3-input OR gate using 2-input OR gates. Carry out all the possible combinations of the inputs. Write down the truth table of 3-input AND gate. Repeat the procedures to construct an 8-input NAND gate. CPE 0907234 Digital logic lab Prepared by: Eng. Ala`a Arabiyat Page 2 of 2