0% found this document useful (0 votes)
39 views

Lab Report#05: Basharat Khattak

This lab report describes simulating a 4-bit subtractor circuit in DSCH software. The objectives are to learn about the design and functioning of a full subtractor building block and use it to create a 4-bit subtractor. The theory section explains full subtractors have three inputs - minuend, subtrahend, and borrow - and two outputs - difference and borrow. The procedure outlines building a single full subtractor, testing it, combining four to make a 4-bit subtractor tested against truth tables. Schematic diagrams and timing diagrams are presented for the single and 4-bit subtractor circuits.

Uploaded by

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

Lab Report#05: Basharat Khattak

This lab report describes simulating a 4-bit subtractor circuit in DSCH software. The objectives are to learn about the design and functioning of a full subtractor building block and use it to create a 4-bit subtractor. The theory section explains full subtractors have three inputs - minuend, subtrahend, and borrow - and two outputs - difference and borrow. The procedure outlines building a single full subtractor, testing it, combining four to make a 4-bit subtractor tested against truth tables. Schematic diagrams and timing diagrams are presented for the single and 4-bit subtractor circuits.

Uploaded by

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

MICROELECTRONICS

LAB REPORT#05
BASHARAT KHATTAK
CLASS # 37
17/4/2014

SUBMITTED TO: MAM MEHMOONA


TITLE: TO SIMULATE THE 4-BIT SUBTRACTOR IN DSCH.
OBJECTIVE:
The main objective of this lab is to become familiar with the design and functioning of full
subtractor. Studying the basic design and functioning of full subtractor and then using this basic design
of full ubtractor is a building unit, we will learn how to make a 4-bit full subtractor in DSCH.
SOFTWARES:
DSCH3
MS Office
THEORY:
Subtractor:
Subtractor is the one which used to subtract two binary number and provides Difference and
Borrow as a output. Basically we have two types of subtractor.
I. Half subtractor
II. Full subtractor
Full subtractor:
But we will only discuss full subtractor here. The full-subtractor is a combinational circuit which
is used to perform subtraction of three bits. It has three inputs, X (minuend) and Y(subtrahend) and Z
(subtrahend) and two outputs D (difference) and B (borrow).
D=X-Y-Z (don't bother about sign)
B = 1 If X<(Y+Z)

TRUTH TABLE:

The truth table for the full subtractor is given below.

Bin X Y D B
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

So, Logic equations are:

̅̅̅̅̅̅̅) + 𝑋̅. 𝑌
𝐵 = 𝑍. (𝑋@𝑌
PROCEDURE:
First of all open the DSCH software and start from the basics i-e make the simple full subtractor
circuit and check it for various inputs and see it’s timing diagram. After that make the full subtractor
schematic diagram by making four different IC’s of full subtractor schematic whose output is fed into 7-
segments display. Two keyboard ports are used for 4-bit(i-e hexa dicimal) inputs. At last simulate the
circuit and verify the output with truth table.
SCHEMATIC DAIGRAM OF SINGLE BIT SUBTRACTOR:

TIMING DAIGRAM:

Comparison of truth table and timing diagram:

IC FORM:
The IC converted form of the full subtractor circuit is given below.
SCHEMATIC DAIGRAM OF 4-BIT SUBTRACTOR :

TIMING DAIGRAM:

Comparison of truth table and timing diagram:

Reference:
1. http://www.ee.surrey.ac.uk/Projects/Labview/gatesfunc/
2. http://doyle.wcdcb.ca/ICE4MI/digital_electronics/karnaugh_maps.htm
3. Book: Digital Logic Design by Moris Mano
4. Book: Fundamentals of Microelectronics by Behzad Rezvi

You might also like