Design a combinational circuit that converts a 4-bit Gray code (Table 1-6 or in the Lecture #2) to 1 4-bit binary number. Implement the circuitwith exclusive-OR (XOR) gates.
ABCD-to-seven-segment decoder is a combinational circuit that converts a decimal digit in BCD to an appropriate code for the selection of segments in a display indicator used for displaying the decimal digit in a familiar form. The seven outputs (a, b, c, d, e, f, g) select the corresponding segments in the display as shown in the figure.The numeric display chosen to represent the decimal digit is shown as well. Design the BCD-to-seven-segment decoder using a minimal number of gates. The six invalid conbinations should result in a blank display.
Design a 4-bit combinational circuit 2's complementer. (The output generates the 2's complement of the input binary number.) Show that the circuit can be constructed using exclusive-OR (XOR) gates. Can you predict what the output functions are for a 5-bit 2=s complementer?