Revise the Boolean equations of Example 2.12 so that no light is activated for invalid code words.
Example 2.12
we suggested that the bits of the onehot-coded signal could be used to activate the red, yellow and green lights, respectively. However, an error in the three-bit signal could cause multiple lights to activate, or no light to activate. Design a circuit that causes the three lights to activate normally for valid one-hot code words, and for the red light to be activated alone for invalid code words.