DLD Labrep 6
DLD Labrep 6
EXPERIMENT 6
DIGITAL LOGIC DESIGN
Equipments:
Logic trainer
Logic prob
Jumper wires
Logic and Exclusive gates
Objective:
To get familiar with Binary comparator.
To learn about exclusive gates.
To understand how to implement a circuit.
Procedure:
The procedure of the experiments are given below:
In this lab experiment first we will carry out the Boolean expression of a circuit given
in a manual.
First we will make the truth table of our expression which will help us to check
whether circuit is correct or not.
Then by using K-map we will find the minimal SOP and POS expression for the
output.
We will use that minimal expression which will cost less gates and IC’s.
First we will make the circuit for equal output which means input A is equal to B.
Equal circuit does not distinguish between either two 0 or two 1‘s as an output A =
B is produced when they are both equal, either A = B = “0” or A = B = “1”.
Then we will make the circuit for less output which means input A is smaller than B.
By using upper two conditions we will make the circuit for greater output which
means A is smaller than B.
At last by using the truth table we will check and verify our circuit.
This is how we will done this lab.
Issues:
No issues were faced during this lab lecture.
Application:
Comparators are used in central processing units (CPUs) and microcontrollers
(MCUs). These are used in control applications in which the binary numbers representing
physical variables such as temperature, position, etc. are compared with a reference value.
Conclusion:
This lab experiment concludes that the digital comparator can be constructed to
compare the digital signals present at their input terminals and produce an output
depending upon the condition of those inputs. For example, along with being able to add
and subtract binary numbers we need to be able to compare them and determine whether
the value of input A is greater than, smaller than or equal to the value at input B etc.