Use behavioral approach (case statement) to design a 1-bit comparator that compares two 1-bit inputs (x and y) and one 3-bit output(F) that tests if: 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.