Skip to main content
Digital Logic Design
Sanjivani Rural Education Society’s
Sanjivani College of Engineering, Kopargaon-423603
(An Autonomous Institute Affiliated to Savitribai Phule Pune University, Pune)
NAAC ‘A’ Grade Accredited, ISO 9001:2015 Certified
Department of Information Technology
(NBAAccredited)
Dr.R.D.Chintamani
Assistant Professor
UNIT – II : COMBINATIONAL LOGIC
CIRCUIT
Topic
2.8
Comparators
Comparators
 Magnitude Comparator
4-bit Comparator IC 7485
Design of 2 bit Comparator
Digital Logic Deign – Unit-II: Topic 2.8 Dr.R.D.Chintamani Department of Information Technology
Magnitude comparator
A magnitude comparator is a combinational circuit that compares
two given numbers and determines whether one is equal to, less
than or greater than the other.
The output is in the form of three binary variables representing the
conditions A = B , A>B and A<B, if A and B are the two numbers
being compared
Digital Logic Deign – Unit-II: Topic 2.8 Dr.R.D.Chintamani Department of Information Technology
Magnitude
Compare
A
B
A = B
A < B
A > B
1 bit Binary Comparator
For two binary numbers, each one have one bit, the truth table
& implementation using logic gates is as shown as below:
Digital Logic Deign – Unit-II: Topic 2.8 Dr.R.D.Chintamani Department of Information Technology
A B Z1
A>B
Z2
A=B
Z3
A<B
0 0 0 1 0
0 1 0 0 1
1 0 1 0 0
1 1 0 1 0
B
A
B)
Z1(A 

B
A
B
A
B
A
B)
Z2(A 






B
A
B)
Z3(A 


IC 7485 4-bit Binary Comparator
• Pin diagram of IC 7485
Digital Logic Deign – Unit-II: Topic 2.7 Dr.R.D.Chintamani Department of Information Technology
IC 7485 4-bit Binary Comparator
• Cascading 4-bit Binary Comparators
Digital Logic Deign – Unit-II: Topic 2.7 Dr.R.D.Chintamani Department of Information Technology
Next Topic – Introduction to Sequential Logic Circuit
Introduction to Sequential Logic Circuit
Combinational v/s Sequential Logic Circuit
Digital Logic Deign – Unit-II: Topic 2.7 Dr.R.D.Chintamani Department of Information Technology
Ask Questions & Share Responses
You can ask your questions and share your responses at:
 Sanjivani LMS
 Email: chintamanirameshwarit@sanjivani.org.in
Lecture Presentation and Literature
To refer presentation of this lecture and literature visit:
 Sanjivani LMS Course: Digital Electronics & Logic Design
References:
[1] M Morris Mano, “Digital Design”, Prentice Hall, 3rd Edition, ISBN: 0130621218.
[2] R. P. Jain, “Modern Digital Electronics “, 3rd Edition, Tata McGraw Hill, ISBN: 0 07 0494924
[3] Flyod, “Digital Principles”, Pearson Education, ISBN:978 81 7758 643 6.
Digital Logic Deign– Unit-II: Topic 2.8 Dr.R.D.Chintamani Department of Information Technology