Digital Logic Fundamental TME2104 September 2022 Lab Report 3 Digital Logic Gates Lecturer: Nur Julia Nazim Binti Bulya Nazim

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

DIGITAL LOGIC FUNDAMENTAL

TME2104

SEPTEMBER
2022
LAB REPORT 3
DIGITAL LOGIC GATES
LECTURER: NUR JULIA NAZIM BINTI BULYA NAZIM

NAME ID MARKS
GOKUELA GESHNU 012022020071

1
Lab Practical 3 Title :

Arithmetic Circuit

Objectives:
1. Design and test a half Adder 2.
Construct and test a full Adder.
3. Construct and test a 42-bit Adder

Equipments:
1. +5V Power Supply
2. 74LS04 Hex Inverter
3. 74LS08 AND gate
4. 74LS32 OR gate
5. 74LS86 Exclusive-OR gate
6. 74LS83 4-Bit Adders
7. 1 K Ohm Resistors x 8
8. 330 Ohm Resistors x 5
9. LEDs x 5

Theory
Arithmetic operations are an important function of digital circuits. In order to perform complex
calculations using binary numbers, we first must design and construct circuits to perform the
simple functions, addition and subtraction. In this experiment we will start with a simple adder
circuit utilizing gates and proceed to a sophisticated four-bit adder chip with carry-in and carry-
out capabilities. Before starting, however, a brief review of binary addition and subtraction will
be helpful.

2
Procedure

1. From the truth table of Figure 1 write a sum of products expression. Simplify the Boolean
expression as much as possible and draw the resultant schematic.

A B S C
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Figure 1

2. Construct the circuit that resulted in Step 1. Using Dc inputs, complete the measurements
necessary to fill in the Table 1.

A B S C
0 0 0 0
0 1 1 0
0 1 1 0
1 1 0 1
Table 1

3. Construct the full-adder circuit of Figure 2. Using DC inputs, complete the truth table
shown in Table 2 to verify that the circuit is operating correctly.

Figure 2

3
A B Ci Co S
0 0 0 0 0
0 0 1 1 1
0 1 0 0 0
0 1 1 1 1
1 0 0 0 0
1 0 1 1 1
1 1 0 0 1
1 1 1 1 1
Table 2

4. Using AND, OR, and Exclusive-OR gates, draw a schematic for a 2-bit adder, use inputs
A1, A2, B1, B2 and outputs S1, S2, and Co. Notice that a carry-in is not necessary, so a
half adder and a full adder may be used.
5. Construct the circuit drawn in Step 4 and make the necessary measurements to complete
the truth table shown in Table 3.

A2 A1 B2 B1 Co S2 S1

4
Table 3

Discussion

In this team discussion, we discovered that we should build


the circuit in accordance with the below-provided diagram, so
we did so, and it worked. We then designed a new diagram
and discovered that the led yellow doesn't light up, so my
teammate and I troubleshot the wiring diagram and
discovered that there is a wire and a bad connection, so we
decided to try again and finally were successful.

Conclusion

Calculations can be done using gates. While multiplication


and subtraction operations require storing and shifting and are
handled by registers, the simpler addition and subtraction
operations can be carried out using only gates. These
operations can be performed simultaneously with as many
arithmetic units as there are bits in the binary numbers, or
sequentially by repeating the operation for each location in a
binary integer.

5
6

You might also like