80 likes | 109 Views
Understand the functionality of a 2-bit and 4-bit magnitude comparator with detailed truth tables for comparisons and outputs. Learn the XOR logic with AiBi + Ai'Bi' and the function table of 7485 for 4-bit comparison.
E N D
4 bit Magnitude Comparator A = A3A2A1A0 B = B3B2B1B0 Xi = AiBi + Ai’Bi’ for I = 0,1,2,3 (A=B) = X3X2X1X0 (A>B) = A3B3’ + X3A2B2’ + X3X2A1B1’ + X3X2X1A0B0’ (A< B) = A3’B3 + X3A2’B2 + X3X2A1’B1 + X3X2X1A0’B0