Gray Code
Gray Code
1 (odd numbers)
Design a Gray code converter to drive a seven-segment indicator. The four inputs to the converter circuit
(A, B, C, and D in Figure1) represent a decimal digit coded using the Gray code. Assume that only input
combinations representing the digits 0 through 9 can occur as inputs, so that the six unused combinations
are don’t-care terms. Design your circuit using only two-, three-, and four-input NAND gates and inverters.
Try to minimize the numbers of gates and inverters required. The variables A, B, C, and D will be available
from toggle switches.