truth table of 4 bit magnitude comparator code example
Example: objectives of one bit magnitude comparator
A comparator used to compare two bits is called a single bit comparator. It consists of two inputs each for two single bit numbers and three outputs to generate less than, equal to and greater than between two binary numbers.