Suppose that, in the circuit for a 2-bit comparator, we wanted to allow for inputs from the higher byte comparisons, xH < yH, xH = yH, xH > yH, so that we could now use a 2-bit comparator in cascades for building comparators for numbers with more than 2 bits. a) Re-write the equations for a 2-bit comparator that would allow for the inputs: xH < yH, xH = yH, xH > yH. b) Re-draw the corresponding circuit diagram.
The Answer to the Question
is below this banner.
Here's the Solution to this Question
a) xH < yH = xH1_ xH0_ yH + xH1 yH + xH0 yH1yH0
xH =yH = (xH0 Ex-NOR yH0 ) ( xH1 EX-NOR yH1 )
xH > yH. = xH0 yH1_ yH0 + xH1 xH0yH0_ + xH1 yH1_