A comparator is a hardware electronic device that takes two numbers as input in binary form and determines whether one number is greater than, less than or equal to the other number.
The boolean expressions are,
for A>B, Y=AB'
for A<B, Y=A'B
for A=B, Y=A'B'+AB
There are currently no comments