Professional Documents
Culture Documents
Lecture 9
Lecture 9
Lecture 9
Lecture 9
then A < B
For a 4-bit magnitude comparator remember that the output
of the equality XNOR gates are x3, x2, x1, x0, the Boolean
expression of A > B and A < B are:
(A > B) = A3B3’ + x3A2B2’ + x3x2A1B1’ + x3x2x1A0B0’
(A < B) = A3’B3 + x3A2’B2 + x3x2A1’B1 + x3x2x1A0’B0