You are on page 1of 5

Electrical and Electronics Engineering Department

Işık University

ELEC1402 LOGIC DESIGN LABORATORY


EXPERIMENT REPORT

Experiment 4: BINARY ADDER CIRCUITS

LINA, AL-WHAIDI, 219SE2031

SEDEQ, AL SAKKAF, 219MC2007


Objective:

The purpose of this experiment is to examine the 4-bit parallel binary adder-
subtractor circuit.

Components:

• C.A.D.E.T breadboard

• 1x74LS08 Quad 2-Input AND Gate

• 1x74LS32 Quad 2-Input OR Gate

• 1x74LS86 Quad 2-Input XOR Gate

• 2x74LS83 4-Bit Binary Full-Adder with Fast Carry

• Jumper Wir

Experimental Procedure:

We set up a 4-Bit Binary Full- Adder, we used 4 XOR, each XOR takes input
A and M, and connected its outputs to the switch in the Full-Adder. After that we
observed the outputs from the LEDs and recorded the values to the table 4.1.

M A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
0 1 0 1 1 1 0 0 1 1 0 1 0 0
0 1 1 1 0 1 0 0 1 1 0 1 1 1
0 0 1 1 0 0 0 1 0 0 1 0 0 0
Table 4.1
Then we removed the jumper between input M and ground, and connected input M
to the power supply (VCC), we observed the outputs from the LEDs and recorded
the values to the table 4.2.

M A4 A3 A2 A1 B4 B3 B2 B1 Cout S4 S3 S2 S1
1 1 0 1 1 1 0 0 1 0 1 1 1 0
1 1 0 0 1 1 1 1 0 1 0 1 1 1
1 0 1 1 0 0 0 1 0 0 1 1 0 0
Table 4.2

We checked by hand the sum of the binary inputs as:

FOR M=0;

A4A3A2A1
B4B3B2B1 +
Cout S4S3S2S1

1011 1110 0110


1 0 0 1+ 1 0 0 1+ 0 0 1 0+
10100 10111 01000

FOR M=1;
B-A=B+(-A)

B+(1+A’)

A=1011 0100 0101 A=1001 0110 0111


A’=0100 1+ 1 0 0 1+ A’=0110 1+ 1110+
1+A’= -A 0101 01110 1+A’= -A 0111 10101
-A= 0101 -A= 0111

A=0110 1001 1010


A’=1001 1+ 0010+
1+A’= -A 1010 01100
Simulation:
-A= 0101
Parallel binary adder-subtractor circuit:

We draw the Binary Adder – Subtractor circuit in the (CircuitVerse). Using4x 4-


Bit Binary Full-Adder with Fast Carry, 4 LEDs and 4 XOR gates. We applied the
values of inputs values from truth table to get the same values as we did in the lab
experiment.

WHEN M=0;

WHEN M=1;

Discussion and
Conclusion:
In conclusion, in this experiment the 4-bit parallel binary adder-
subtractor circuit has been investgated. 74LS86 Quad 2-Input XOR Gate, 74LS83
4-Bit Binary Full-Adder with Fast Carry and jumper Wires have been used in the
experiment. The circuit peform Addition and Subtraction. when the mode input is
0 logic (Ground) the circuit works as Adder and if the mode input is 1 logic
(connectedd to the power supply) the circuit works as Subtractor. So the mode
input controls the circuit. Firstly, We connected the circuit and set the mode input
as 0 logic (to the ground), after implement all the values in the truth table we got
the results from the LEDs and wrote it down to the truth table and verfied the
results by hand to got the same values.when one of XOR gates be 0 (mode
input)the output of XOR is same as the other input so the whole circuit work as
Adder. Secondly,the circuit was the same, we only replaced the mode input to 1
logic (power supply Vcc). After excuting all the six 4 bit numbers we got the
results and written down to the truth table. when one of XOR gates be 1 the output
of XOR is the complement of the other input so the whole circuit work as
Subtractor. We investigated the results by hand and by simulation to have the same
values.

You might also like