0% found this document useful (0 votes)
156 views21 pages

Digital Electronics: Subtractors

This document discusses digital subtractors. [1] It defines a subtractor as an electronic logic circuit that calculates the difference between two binary numbers and provides the difference and borrow as outputs. [2] There are two main types of subtractors: half subtractors, which subtract one-bit numbers, and full subtractors, which subtract three-bit numbers. [3] Parallel binary subtractors are implemented by cascading multiple full subtractors and are used to subtract larger binary numbers.

Uploaded by

Oscar Machaka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views21 pages

Digital Electronics: Subtractors

This document discusses digital subtractors. [1] It defines a subtractor as an electronic logic circuit that calculates the difference between two binary numbers and provides the difference and borrow as outputs. [2] There are two main types of subtractors: half subtractors, which subtract one-bit numbers, and full subtractors, which subtract three-bit numbers. [3] Parallel binary subtractors are implemented by cascading multiple full subtractors and are used to subtract larger binary numbers.

Uploaded by

Oscar Machaka
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

DIGITAL ELECTRONICS

SUBTRACTOR
 Group Members:

1. Md Jahid Hasan – 152-15-5588


2. Allahma Iqbal – 152-15-6094
3. MD. Shahnur Chowdhury – 153-15-6387
4. Umme Sharmin Ritu – 161-15-6883
 Objectives
 Definition of Subtractor
 Types of subtractor
 Explaining different subtractors with
 Truth table
 Boolean Expression
 Logic circuit
 Parallel binary subtractor
 Applications
 What is Subtractor ?

Subtractor is an electronic logic circuit


for calculating the difference between
two binary numbers which provides the
difference and borrow as output.
 Types of Subtractor

 Half Subtractor
 Full Subtractor
 Half subtractor

Half Subtractor is used for subtracting


one single bit binary number from another
single bit binary number.
It has two inputs; Minuend (A) and
Subtrahend (B) and two outputs; Difference
(D) and Borrow (Bout).
 Truth Table

Input Output

A B Difference (D) Borrow (Bout)

0 0 0 0

0 1 1 1

1 0 1 0

1 1 0 0
 Solving truth table using K-map

Borrow = Ā.B Difference = A ⊕ B


 Boolean Expression

From the truth table and K-map, the Boolean


Expression can be derived as:
Difference (D) = Ā.B + A. 𝐁 = A ⊕ B
Borrow (Bout)= Ā.B
 Logical Circuit
 fULL subtractor

A logic Circuit Which is used for subtracting


three single bit binary numbers is known as
Full Subtractor.
It has three inputs; Minuend (A), Subtrahend
(B) and following Subtrahend (C) and two
outputs; Difference (D) and Borrow (Bout).
 Truth Table

Input Output
A B C D B(out)
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
 Solving Truth Table using K-Map
 K-Map Minimization

From the Truth Table The Difference and Borrow will


written as,
Difference=A'B'C+A'BC'+AB'C'+ABC
Reducing it we got,
Difference=A ⊕B ⊕C

Borrow=A'B'C+A'BC'+A'BC+ABC
=A'B'C+A'BC'+A'BC+A'BC+A'BC+ABC
=A'C(B'+B)+A'B(C'+C)+BC(A'+A)
Borrow=A'C+A'B+BC
 Boolean Expression

From the truth table and k-map minimization,


the Boolean Expression can be derived as:

D =A⊕B⊕C

B(out) = BC + (B ⊕ C) A
 Logical Circuit
 Parallel Binary Subtractor

Parallel binary subtractor can be implemented by


cascading several full-subtractors.

Next slide shows the block level representation of a


4-bit parallel binary subtractor, which subtracts 4-
bit b3b2b1b0 from 4-bit a3a2a1a0. It has 4-bit
difference output D3D2D1D0 with borrow output
B(out).
 Diagram
 Applications

 To attenuate the radio/audio signal


 In amplifier to reduce sound distortion
 In arithmetic logic unit of processors
 Increment and decrement operators
 Calculate addresses
Any question ?
THANK YOU

You might also like