Lab 05
Lab 05
fi
Laboratory 5
Logic Circuit II
Objectives:
Determine the outputs of a NAND, NOR and Exclusive OR gates.
Complete the NAND, NOR and Exclusive OR gates truth table from experimental values
Write a Boolean expression for a NAND, NOR and Exclusive OR gates.
Write the Boolean expression for the digital Comparator.
Equipment required
PU-2000 mainframe: Computer Electronics learning system
Master Board
EB-132: Printed circuit board.
Content:
1. NAND gates
2. NAND equivalent circuit
3. NOR gates
4. NOR equivalent circuit
5. Exclusive OR gates
6. A digital comparator
7. Troubleshooting
1. NAND gates
After you complete these laboratory activities you should be able to:
Use NAND gate circuit to determine the relationship between the inputs and outputs
Complete the NAND gate truth table from experimental results.
Write a Boolean expression for a NAND gate circuit.
1.3 Procedure
1. Determine the outputs for gate 1 in Fig.1 for various input combinations. Lamp F is ON to indicate a logic “1”
state. Switches A and B are used to change the input states. Complete the truth table in Fig.2.
A B F
0 0 1
0 1 1
1 0 1
1 1 0
2.1 OBJECTIVES
After you complete these laboratory activities you should be able to:
Determine the outputs of a NAND equivalent circuit.
Complete the truth table of NAND circuit from experimental values.
Write a Boolean expression for a NAND circuit.
2.2 Starting Up
1 Locate the circuit in Fig.1 on the printed circuit board EB-132.
2 Connect two jumpers to A and B, in the places indicated by arrows ( ) to connect switches A and B to the
corresponding inputs. These two position switches provide logic states “0” and “1” to the NAND equivalent
circuit inputs.
2.3 Procedure
1. Complete the truth table
A B F1 F2 F3
0 0 1 1 1
0 1 1 0 1
1 0 0 1 1
1 1 0 0 0
Figure 2: truth table
F1=________A_______F2=_________B_______F3=__________A+B________
Question
What is the difference between F (truth table in Fig.2 of Lab.1) and F3 (Fig.2 of this experiment)?
- The inputs are passing through NAND Gate directly & give the result as NAND Gate, but in Fig-2 two inputs initially
pass through NOT Gates & via OR Gate then provide the result as NAND equivalent Gate.
3. NOR GATES
3.1 Objectives
After you complete these laboratory activities you should be able to:
1. Determine the outputs of a NOR gate.
2. Complete the truth table of NOR gate from experimental values.
3. Write a Boolean expression for NOR gate.
3.2 Starting Up
1. Locate the circuit in Fig. 3.1 on the EB-132 printed circuit board.
2. Connect 2 jumpers to A and B.
3.3 Procedure
1. Determine the outputs of Gate 2 for various input combinations. Lamps F is ON to indicate logic “1” state.
Switches A and B are used to change the input states.
2. Complete the following truth table in Fig 3.2:
3. Write the Boolean expression for these logic gates: F =_______A+B_________________________________
B F
A
0 0 1
0 1 0
1 0 0
1 1 0
4.0 Objectives
After you complete this experiment you should be able to:
4.1 Starting Up
1. Locate the circuit in (Fig 4.1) on the EB-132 printed circuit board.
4
[email protected]
2. Connect 2 jumpers to A, B.
F1
F3
F2
4.2 Procedure
1. Determine the outputs of gates 6, 7 and 8 in Fig 4.1 for various input combinations. Lamps F1, F2 and F3 are ON
to indicate logic “1” state. Switches A and B are used to change the input state.
2. Complete the following truth table:
A B F1 F2 F3
0 0 1 1 1
0 1 1 0 0
1 0 0 1 0
1 1 0 0 0
F2= B
F3= A.B
Question
What is the difference between F (truth table in Fig.2 of lab 3) and F3 (Fig. 4.2 of this experiment)?
-The inputs are passing through NAND Gate directly & give the result, but in Fig-4.2 two inputs initially pass through NOT
Gates & via AND Gate & provide the result as NOR equivalent Gate.
5. Exclusive-OR Gates
After you complete this experiment you should be able to:
1. Use an exclusive-OR gate (XOR).
2. Complete its truth table.
3. Write the corresponding Boolean Expression.
5.1 Starting Up
1. Locate exclusive-OR gate circuit (Fig 5.1)
2. Connect 3 jumpers to A, B, and C.
F1
F2
5.2 Procedure
1. Determine the outputs of gates 8 and 9.
2. Complete the following truth table:
A B C F1 F2
0 0 0 0 0
0 0 1 0 1
0 1 0 1 1
0 1 1 1 0
1 0 0 1 1
1 0 1 1 0
1 1 0 0 0
1 1 1 0 1
Figure 5.2 : XOR truth table
Question
What is the difference between the logic circuit in Fig. 5.1 and a 3-input XOR gate?
6. A Digital Comparator
After you complete this experiment you should be able to:
1. Determine the outputs of a digital comparator circuit.
2. Complete the truth table of digital comparator circuit from experimental values.
3. Write the Boolean expression for the digital comparator circuit.
6.1 Starting Up
1. Locate the one input circuit (Fig 6.1)
2. Connect jumpers to A and B.
F1 F2
F4
F5
F3
6.2 Procedure
1. Determine the outputs of gates 11 and 15 in Fig 6.1. For various input combinations.
2. Complete the following truth table in Fig. 6.2:
3. Write the Boolean expression for this circuit:
F1=______________A.B___ F2=_____A._(A.B) _____________ F3=_______ B._(A.B)
____________
A B F1 F2 F3 F4 F5
0 0 1 1 1 0 1
0 1 1 1 0 1 0
1 0 1 0 1 1 0
1 1 0 1 1 0 1