You are on page 1of 3

PRACTICAL 3 - ADDERS

PRACTICAL NO: 3

AIM: Design and verify a half/full adder.

SOLUTION:

Half-Adder:

A combinational logic circuit that performs the addition of two data bits, A and B, is called a half-
adder. Addition will result in two output bits; one of which is the sum bit, S, and the other is the
carry bit, C. The Boolean functions describing the half-adder are:

S =A ⊕ B C=AB

Block diagram

Truth Table

Step 1: Open the Logisim Software.

Step 2: Go to Gates Click on XOR and AND gate  After clicking on AND and XOR gate you will see
the description of AND and XOR gate in the Selection Tab: AND and XOR Gate. Check the no. of
inputs i.e., data bits if the input is two change it one; the output will always be one.

Step 3: For the inputs go to the green rectangle of ADD PIN and for the output we will add the LED
button i.e., Green Circle of ADD PIN.

Step 4: In order to connect the input pin and the AND and XOR gate pin we will drag the cursor from
the AND and XOR gate to the input pin and vice versa for the output.
Step 5: For running the connected circuit go to the HAND TOOL also known as Changing values
within circuit and then change the values of the input and check the output.

SMRITI.M. DUBEY Page no


PRACTICAL 3 - ADDERS

Full-Adder:

The half-adder does not take the carry bit from its previous stage into account. This carry bit from its
previous stage is called carry-in bit. A combinational logic circuit that adds two data bits, A and B,
and a carry-in bit, Cin, is called a full-adder. The Boolean functions describing the full-adder are:

S = (x ⊕ y) ⊕ Cin C = xy + Cin (x ⊕ y)

Block diagram

Truth Table

SMRITI.M. DUBEY Page no


PRACTICAL 3 - ADDERS

Step 1: Open the Logisim Software.

Step 2: Go to Gates Click on XOR, OR and AND gate  After clicking on OR, AND and XOR gate you
will see the description of AND, OR and XOR gate in the Selection Tab: AND, OR and XOR Gate. Check
the no. of inputs i.e., data bits if the input is two change it one; the output will always be one.

Step 3: For the inputs go to the green rectangle of ADD PIN and for the output we will add the LED
button i.e., Green Circle of ADD PIN.

Step 4: In order to connect the input pin and the AND, OR and XOR gate pin we will drag the cursor
from the AND, OR and XOR gate to the input pin and vice versa for the output.

Step 5: For running the connected circuit go to the HAND TOOL also known as Changing values
within circuit and then change the values of the input and check the output.

SMRITI.M. DUBEY Page no

You might also like