DSM Assignment 3
DSM Assignment 3
Semester: I Batch: A4
Aim:
Comparator Implementation
Objective: Use digital comparator ICs (such as 7485) to implement and verify the
comparison between binary numbers of different bit sizes (4-bit, 5-bit, 8-bit and
9-bit).
EQUIPMENTS Equipments Needed are :
REQUIRED Digital Trainer kit
Logic Gates :
IC 7432 : OR GATE / IC 7486 : XOR GATE / IC 7408 : AND GATE
IC 7402 : NOR GATE / IC 7404 : NOT GATE / IC 7400 : NAND GATE
IC 74266 : XNOR GATE / IC 7411 : 3 INPUT AND GATE
IC 4072 : 4 INPUT OR GATE
We will need IC 7485 in this experiment.
We need breadboard for prototyping circuits without soldering
We need wires for connection between components
Power supply typically +5v or +3.3V depending on logic levels
Procedure:
1. Design the Circuit: Use truth tables to determine the logic for your
Comparator
2. Build the Circuit: Assemble components on a breadboard.
3. Test the Circuit: Use a multimeter or logic analyzer to verify functionality.
Circuit 4-bit :
Diagram:
Sardar Patel Institute of Technology
Bhavan’s Campus, Munshi Nagar, Andheri (West), Mumbai-400058-India
(Autonomous Institute Affiliated to University of Mumbai)
Academic Year: 2024-25
5-bit :
Sardar Patel Institute of Technology
Bhavan’s Campus, Munshi Nagar, Andheri (West), Mumbai-400058-India
(Autonomous Institute Affiliated to University of Mumbai)
Academic Year: 2024-25
9-bit :
Sardar Patel Institute of Technology
Bhavan’s Campus, Munshi Nagar, Andheri (West), Mumbai-400058-India
(Autonomous Institute Affiliated to University of Mumbai)
Academic Year: 2024-25
8-bit :
Sardar Patel Institute of Technology
Bhavan’s Campus, Munshi Nagar, Andheri (West), Mumbai-400058-India
(Autonomous Institute Affiliated to University of Mumbai)
Academic Year: 2024-25
Result 4-bit Truth Table :
Conclusion: Comparators play a crucial role in digital circuit design and functioning, enabling
effective decision-making based on numerical comparisons.
We reduced propagation delays which is caused when we use logic gates to compare
values
We learned the functioning of a comparator, we compared binary numbers and got
the perfect output. We learned to make 8 / 9 bit comparators and how to use them.