Professional Documents
Culture Documents
COMPONENTS REQUIRED
SI. No. Components Specification Quantity
1 OR Gate IC 7432
THEORY:
The comparison of2 numbers is an operation that determines if one number is greater than, less than or
equal to the other numbers. A magnitude comparator is a combinational circuit that compares two
numbers at a time & determines their relative magnitudes. The outcome of the comparison is specified
by three binary variables that indicate where A>B, A = B or A<B. The circuit for comparing two r-bit
numbers has 2" entries in the truth table & becomes too cumbersome even with r =3.
1. Bit comparator
A B A<B A B A>B
0 0 1 0
0 0 0 1
i. A = B
i. A> B
a. A >Bi or
a. A Bi or
b. (A= B1) AND (Ao < Bo)
Bo A>B A B A<B
A Ap B
0
0 0
0 0
0
0 0
0
0
0
0 0
0
0 0
0 0
0
0 0 0
0 0 0 0 0
0 0 0
0 0 0 0
0 0 0
0 0
0 0
0 0
1 0 1 0
EED-Digital Electronics Manual
LOGIC CIRCUIT
I Bit Conmparator:
AB
A
AOAb
AC
AYS
K-Map:
B
B 0 0
o
0
AB:A>B
AOB:A= B
AB A<B