Magnitude Comparator

A magnitude comparator accepts two input variables and determines how they compare to each other. There are three outputs: input A is greater than input B; input A is equal to input B; and input A is less than input B.