Experiement 5

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

Experiment No: 5

Half and Full Subtractors


AIM / OBJECTIVES:
To construct a circuit for 2-bit and 3-bit binary subtraction.
COMPONENTS AND EQUIPMENTS REQUIRED:
S.No. Name Type Quantity
1. Ex-Or gate IC-74866 3
2. Not gate IC-7404 3
3. And gate IC-7408 3
4. Or gate IC-7432 1
5. Power Supply 1
6. Multimeter 1
7. Breadboard 1
8. Connecting wires 30
9. 100Ω Resistor 4
10. 5mm LEDs 4

THEORY:
A binary subtractor is a circuit that will perform subtraction of respective binary bits in
the arithmetic logic unit of the computer. Half subtractor and full subtractor and two main
circuits used logical subtraction. Before learning Binary subtractor circuits it is necessary to
understand regular binary subtraction.
BINARY SUBTRACTION:
The basics of binary subtraction are as follows: -
1–0=1
1–1=0
0–0=0
0 – 1 = 1 [In this case there will be a borrow bit]
1. HALF SUBTRACTROR:
A 2-bit binary subtractor is called a Half Subtractor. This circuit will have two input bits
[A & B respectively]. There are two output bits present difference and borrow. Three logic
gates are used to construct this circuit namely: Ex-Or gate, Not gate and And gate.
1.1 TRUTH TABLE OF HALF SUBTRACTOR:

The truth table of half subtractor will have two inputs A & B. The outputs will be D
[difference] and B0 [borrow].
1.2 EQUATIONS AT OUTPUT:

The equation of difference is:


D = A ⊕ B [The output of difference is an ex-or gate.]

The equation of borrow is:


B0 = A’B [The difference is And of A complement.]

1.3 LOGIC DIAGRAM OF HALF SUBTRACTOR:

1.4 OBSERVATION TABLE:

A B D (V) B0 (V)

2. FULL SUBTRACTOR:

A 3-bit binary subtractor is called a Full Subtractor. This circuit will have three input
bits [A, B & C respectively]. There are two output bits present difference and borrow. Three
input Ex-Or gate, a Not gate, three and Gates and an Or gate are required.
2.1 TRUTH TABLE OF FULL SUBTRACTOR:
The truth table of half subtractor will have three inputs A, B & C. The outputs will be
D [difference] and B0 [borrow].
2.2 EQUATIONS AT OUTPUT:

The equation of difference is:


D =A⊕B ⊕C

The equation of borrow is:


B0 = A’C + A’B + BC

2.3 LOGIC DIAGRAM OF FULL SUBTRACTOR:

2.4 OBSERVATION TABLE:

A B C D (V) B0 (V)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy