DLD Lab Report 9
DLD Lab Report 9
SUBMITTED TO
SUBMITTED BY
TASK DESCRIPTION:
A comparator used to compare two bits is called a single-bit comparator. It consists of
two inputs each for two single-bit numbers and three outputs to generate less than,
equal to, and greater than between two binary numbers.
OBJECTIVE:
The objective of this lab is:
To get to know about 1-bit magnitude comparator.
To implement a 1-bit magnitude comparator on hardware.
COMPONENTS:
Breadboard, IC type 7486 quadruple 2-input XOR gates, IC type 7408 quadruple 2-input
AND gates, IC type 7400 quadruple 2-input NAND gates, IC type 7411 triple 3-input
NAND gates, switches for inputs, and LED displays for output.
EXPLANATION:
MAGNITUDE COMPARATOR:
A magnitude digital Comparator is a combinational circuit that compares two digital
or binary numbers to find out whether one binary number is equal, less than or greater
than the other binary number. We logically design a circuit for which we will have two
inputs one for A and the other for B and have three output terminals, one for A > B
condition, one for A = B condition, and one for A < B condition.
.
BOOLEAN FUNCTIONS:
(A>B)= A’B
(A=B)= A’B’+ AB= (A XOR B)’
(A<B)= AB’
LOGIC DIAGRAM OF 1 BIT COMPARATOR
BREADBOARD DIAGRAM:
PROCEDURE:
First of all grab the components that are required to make the circuit of ittit
magnitude comparator.
Make the circuit on the breadboard with the components.
Then verify the truth table and logic.
After that note down the readings on the table.
RESULTS:
All the results of truth table are verified from the circuit and the output values are given
below in the table.
OV 0V 5V 0V 0V
0V 5V 0V 5V 0V
5V 0V 0V 0V 5V
5V 5V 5V 0V 0V
CONCLUSIONS:
In this lab I have concluded that by using different ICS and LOGIC
GATES we can construct the one-bit magnitude comparator easily.
OV 0 5V 0V 0V
V
0V 5 0V 5V 0V
V
5V 0 0V 0V 5V
V
5V 5 5V 0V 0V
V