Consider a 1-bit version of the digital comparator shown in Figure P6.1.41. Note that the operation of this circuit is such that whichever output is 1 gives the desired magnitude comparison.
(a) Using NAND and INVERTER gates only, determine the number of gates required.
(b) Using NOR and INVERTER gates only, determine the number of gates required.
(c) Which realization requires the least number of gates?