Question: 2. A festive light display controls 8 light bulbs (B7-B0). A0 activates the system. A1 chooses a mode. When A1=0, the lights blink all-on and
2. A festive light display controls 8 light bulbs (B7-B0). A0 activates the system. A1 chooses a mode. When A1=0, the lights blink all-on and all-off 1 second each. When A1=1, the lights move each second giving the illusion of a ball bouncing back and forth: 10000000, 01000000, ...., 00000001, 00000010, ..., 1000000, repeat. Use bit manipulation methods for the bouncing ball mode, rather than separate states for different output combinations.
Hint: Use transitions for bit manipulation states. Bit manipulation initialization actions can take place on entry transitions.
If you do not have a RIBS simulation, can you please maybe do a drawing or any that could help? Any helps and thank you.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
