A combinational circuit is to be designed to control a seven-segment display of decimal digits. The inputs to the circuit are BCD codes. The seven outputs correspond to the segments that are activated to display a given decimal digit.
a. Develop a truth table for the circuit.
b. Derive simplified sum-of-products and product-of-sums expressions.
c. Implement the expressions using either NAND or NOR gates as appropriate.