De Lab Comparator
De Lab Comparator
De Lab Comparator
Practical Assignment 4: -
1) 1 Bit Magnitude Comparator
2) 2 Bit Magnitude Comparator
Group 3:
AP20110010009(Sowmya Yakkala)
AP20110010010(K. Phanimonish)
AP20110010011(P.N.B.S Eswar)
AP20110010012(Challa Aditya Koundinya)
AP20110010013(Kaushik Aadhithya Chiratanagandla)
1) 1 Bit Magnitude Comparator:
Logic circuit:
_________ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ ____ _____ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ _________ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ _________ _______ _______ _ _____ _______ _______ ______ _______ _______ ______ _______ _
_________ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ _________ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ ___ ____ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ _________ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ _________ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ ____
_________ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ ____ _____ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ _________ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ______ _______ _______ ______ _______ _______ ______ _______ ______ _______ _______ ____ _________ _______ _______ _ _____ _______ _______ ______ _______ _______ ______ _______ ______ _______ ____
Truth Table:
Input Output
A B A>B A=B A<B
0 0 0 1 0
0 1 0 0 1
1 0 1 0 0
1 1 0 1 0
2) 2 Bit Magnitude Comparator:
Logic Circuit:
Truth table:
Input Output
A1 A0 B1 B0 A>B A=B A<B
0 0 0 0 0 1 0
0 0 0 1 0 0 1
0 0 1 0 0 0 1
0 0 1 1 0 0 1
0 1 0 0 1 0 0
0 1 0 1 0 1 0
0 1 1 0 0 0 1
0 1 1 1 0 0 1
1 0 0 0 1 0 0
1 0 0 1 1 0 0
1 0 1 0 0 1 0
1 0 1 1 1 0 0
1 1 0 0 1 0 0
1 1 0 1 1 0 0
1 1 1 0 1 0 0
1 1 1 1 0 1 0