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
A B Difference (D) Borrow (Bout)
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Input Output
 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
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
Input Output
 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

Subtractor (1)

  • 1.
  • 2.
     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
  • 3.
     Objectives  Definitionof Subtractor  Types of subtractor  Explaining different subtractors with  Truth table  Boolean Expression  Logic circuit  Parallel binary subtractor  Applications
  • 4.
     What isSubtractor ? Subtractor is an electronic logic circuit for calculating the difference between two binary numbers which provides the difference and borrow as output.
  • 5.
     Types ofSubtractor  Half Subtractor  Full Subtractor
  • 6.
     Half subtractor HalfSubtractor 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).
  • 7.
     Truth Table AB Difference (D) Borrow (Bout) 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 0 Input Output
  • 8.
     Solving truthtable using K-map Borrow = Ā.B Difference = A ⊕ B
  • 9.
     Boolean Expression Fromthe truth table and K-map, the Boolean Expression can be derived as: Difference (D) = Ā.B + A. 𝐁 = A ⊕ B Borrow (Bout)= Ā.B
  • 10.
  • 11.
     fULL subtractor Alogic 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).
  • 12.
     Truth Table AB 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 Input Output
  • 13.
     Solving TruthTable using K-Map
  • 14.
     K-Map Minimization Fromthe 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
  • 15.
     Boolean Expression Fromthe truth table and k-map minimization, the Boolean Expression can be derived as: D = A ⊕ B ⊕ C B(out) = BC + (B ⊕ C) A
  • 16.
  • 17.
     Parallel BinarySubtractor 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).
  • 18.
  • 19.
     Applications  Toattenuate the radio/audio signal  In amplifier to reduce sound distortion  In arithmetic logic unit of processors  Increment and decrement operators  Calculate addresses
  • 20.
  • 21.