Design a circuit that compares two bits and indicates whether the first is greater than, equal to or smaller than the second.
Specification
module cmp(a, b, eq, gt, lt); input a, b; output eq, gt, lt;
Input
Output
The official statement of a problem is always the one in the PDF document. The HTML version of the statement is also given to help you, but may contain some content that is not well displayed. In case of doubt, always use the PDF.