Show transcribed image textWhat are the output of a 74HC85 with the following inputs:A_3 A_1 A_2 A_1 A_0 = B_3 B_2 B_1 B_0 = 1001, I_A > B = I_A
Expert Answer
Four-bit Magnitude Comparator: A comparator used to compare two 4-bit words. The two 4-bit numbers are word A: A3A2A1A0, and word B: B3 B2B1B0) So the circuit has 8 inputs and 3 binary outputs: A>B, A=B and A<B.
How 4-bit comparator it works? Equality: Word A equal word B iff: A3=B3, A2=B2, A1=B1, A0=B0. Inequality: If A3 = 1 and B3 = 0, then A is greater than B (A·>B). Or If A3 and B3 are equal, and if A2 = 1 and B2 = 0, then A· > B. Or If A3 and B3 are equal· & A2 and B2 are equal, and if A1 = 1, and B1 = 0, then A>B. Or If A3 and B3 are equal, A2 and B2 are equal and A1 and B1 are equal, and if A0 = 1 and B0 = 0,· then A > B. If A3 = 0 and B3 = 1, then A is less than B (A·< B. Or If A3 and B3 are equal· & A2 and B2 are equal, and if A1 = 0, and B1 = 1, then A B3 are equal, A2 and B2 are equal and A1 and B1 are equal, and if A0 = 0 and B0 = 1, then A < B.