2-bit Comparator

Thread Starter

Skinlessspore

Joined Jun 16, 2014
1
So I'm stuck on a problem building a 2-bit comparator block diagrom (or circuit). I've developed the truth table already and had no problems. Our outputs were W,X,Y and W = A=B, X= A>B, Y = A<B. For A=B I put 2 XNOR gates feeding into an AND gate. I don't understand how to create a logic circuit for A<B or A>B. If someone could please explain that would be very helpful!
 
Top