LAB 01
LAB 01
Experiment 1:
Objectives: Implementing The Following Functions Using Basic Logic
Gates
1. F (A, B, C) = AC + B’C
2. F (A, B, C) = (C’ + B’A)B’
3. F(A, B) = A’B’ + A’B + AB’
Components Used:
1. And Gate IC 7408
2. Or Gate IC 7432
3. Not Gate IC 7404
4. Trainer Board
5. Logisim Software
6. Jumper wires
Theory:
We can execute various functions by using basic logic gates. Moreover, we can use Logisim to generate minimized
version of the functions that uses fewer number of gates.
1. F (A, B, C) = AC + B’C
A B C D
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 1
This version uses 4 gates. 1x Not gate, 2x And gate and 1x Or gate. However, by using Logisim, we can minimize the
implementation to a much more efficient version while keeping the output unchanged. Which is shown below.
4
Figure 3
This version of the implementation only uses 3 gates, which is one less than before. 1x Not gate, 1x And gate and 1x
Or gate.
A B C F
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 0
Figure 5
Function 3 represents a security system that outputs 1 if a window or a door is broken. Here A and B will represent
the door and window.
A B F
0 0 1
0 1 1
1 0 1
1 1 0
Experiment 2:
Objectives: Implementing the following function using basic logic gates
F (A, B, C, D) = ABC’D + A’BCD’ + ABC + AB’C’D’ + ABD’ + AB’C
Components Used:
1. And Gate IC 7408
2. Or Gate IC 7432
3. Not Gate IC 7404
4. Trainer Board
5. Logisim Software
6. Jumper wires
Theory:
The function has 21 literals. We can implement it the following way.
A B C D F
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
1 0 0 0 1
1 0 0 1 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
We can minimize the function using Logisim. Which gives us the following function:
(A+B)(A+C)(A+D’)(B+C+D’)
Discussion:
I have learned how to implement a function using basic gates on a trainer board. Such as And gate, Or gate and Not
gate. Besides, also learned how to use Logisim to execute the functions and then generate truth tables and minimize
the function.