a circuit for A?>=B

Thread Starter

Nec

Joined Nov 21, 2008
6
in homework, i have to create a circuit which compare two 4 bit numbers like A,B and if A is equal or greater than B, then return true value.If not, return false value.I used xnor gates and connect these gates' output to four-input and gate for equal or not, i dont have a problem in this part.But other part,greater than, i have a problem i try something but it does not work.And i couldnt write a truth table,,since it is too long.Can someone help me pls.
 

eblc1388

Joined Nov 28, 2008
1,542
Get and read the 74HC85 datasheet and see how it is done.

You can then remove parts that are not required like "equal" and "bigger" and invert the "less than" output as your output.

You can also remove parts that deal specifically with cascading bit length etc...

It is not an easy task.
 

tuborggg

Joined Jan 3, 2009
37
BTW, you see that it does uses a truth table as you thought is too big.
BTW2: you can use a subtractor and check only it's msb to see if you got a positive or negetive answer and know if A<B ...
 
Top