Assignment#3b

SunitaAher1 107 views 10 slides Sep 30, 2021
Slide 1
Slide 1 of 10
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10

About This Presentation

Implementation of half subtractor and full subtractor using basic gate and universal gates.


Slide Content

Digital Technique Mrs. Sunita M Dol
Page 1
HANDOUT#3b

AIM:
Implementation of half subtractor and full subtractor using basic gate and universal
gates.

LEARNING OBJECTIVES:
- Realize the subtractor circuits using basic gates and universal gates

COMPONENT REQUIRED:
- Logic gates (IC) trainer kit.
- Connecting patch chords.
- IC 7400, IC 7408, IC 7432, IC 7402, IC 7404, IC 7486

Sr. No. Component Specification
1 NOT gate IC7404
2 AND gate IC7408
3 OR gate IC7432
4 NAND gate IC 7400
5 NOR gate IC7402
6 EX-OR gate IC7486

THEORY:
Half Subtractor: A logic circuit for the subtraction of B (subtrahend) from
A(minuend) where A and B are 1-bit numbers is referred to as a half subtractor. In
the following truth table, A and B are two inputs and D (difference) and C(borrow)
Truth table
A B S(sum) C(carry)
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
S(sum) = A B
C(borrow) =

Digital Technique Mrs. Sunita M Dol
Page 2

Half Subtractor using basic gates:



Half subtractor using NAND gate only

Digital Technique Mrs. Sunita M Dol
Page 3
Using only NOR gate




Full Subtractor: Just like Full Adder, we require full subtractor circuit for
performing multibit subtraction wherein a borrow from the previous bit position
may also there.
A full subtractor will have three inputs A
n (minuend), Bn(subtrahend) and Cn-1
(borrow from previous stage) and two outputs Dn (difference) & Cn(borrow)

Truth table
A
n Bn C n-1 Sn(sum) Cn(carry)
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1

Digital Technique Mrs. Sunita M Dol
Page 4
Logic Equation:

Digital Technique Mrs. Sunita M Dol
Page 5
Logic Circuit using Basic gates:
For Dn(difference)

Digital Technique Mrs. Sunita M Dol
Page 6
For Cn(borrow)



For Sn and Cn using two half subtractor

Digital Technique Mrs. Sunita M Dol
Page 7
Using NAND gate only

For Dn(difference)

Digital Technique Mrs. Sunita M Dol
Page 8
For Cn(borrow)

Digital Technique Mrs. Sunita M Dol
Page 9
Using only NOR gates:
For Dn(difference)

Digital Technique Mrs. Sunita M Dol
Page 10
For Cn(borrow)



PROCEDURE:
1. Check the components for their working.
2. Insert the appropriate IC into the IC base.
3. Make connections as shown in the circuit diagram.
4. Provide the input data via the input switches and observe the output on
output LEDs
5. Give various combinations of inputs and note down the output with help of
LED for all gate ICs one by one.

RESULT:
Thus we have implemented half subtractor and full subtractor using basic gate and
universal gates
Tags