0
503views
written 3.6 years ago by | modified 2.9 years ago by |
Comparator is used to compare two binary numbers, 1-bit comparator circuit is used to compare 1-bit binary numbers.
A | B | f(A>B) | f(A=B) | f(A<B)</th> |
---|---|---|---|---|
0 | 0 | 0 | 1 | 0 |
0 | 1 | 0 | 0 | 1 |
1 | 0 | 1 | 0 | 0 |
1 | 1 | 0 | 1 | 0 |
Now find the equations for each f(A>B), f(A=B), f(A<B) using k-maps.</p>
Equation is $A+\bar B$
Equation is $\bar A\bar B+AB=A\odot B$
Equation is $\bar AB$