Design a magnitude comparator that takes two 2-bit binary numbers, A2A1 and B2B1, and
determine their status based on below condition,
• If two numbers are equal then EQUAL =1
• If A2A1 greater than B2B1 then GREATER = 1
• If A2A1 less than B2B1 then LESS = 1
This comparator circuit contains of FOUR inputs (A2A1 and B2B1) and THREE outputs
(EQUAL, GREATER and LESS).
(i) Derive the truth table for the above problem.
(ii) Minimized the expression into simplified POS form using K-map.
(iii) Draw the combinational logic diagram based on the simplified Boolean expression as in (ii)