Question: Question 3: 7-segment display (30 marks) digit 3 digit 2 digit 1 digit You've been asked to program a hardware device with a four-digit display




Question 3: 7-segment display (30 marks) digit 3 digit 2 digit 1 digit You've been asked to program a hardware device with a four-digit display like the one above. The device is just like your discoboard but with an additional 32-bit display register dr which controls the display. Each byte of the register controls the segments for a different display digit. For example, ifthe "A" bit for digit 2 is 1, the top segment of digit 2 will be on, if the same bit is 0, itl be off (since there are only 7 segments, the top bit in each byte is unused). digit 3 digit 21 L -digit 1 digit 0 181 30 29 2827 26 2524 2322 212?19 1817 16151413 1211 1?9 8 7 6 5 4 3 2 1 GFEDCBA GFEDCBAGFEDCBA GFEDCBA This is what all the digits o-9 should look like on this display. Question 3: 7-segment display (30 marks) digit 3 digit 2 digit 1 digit You've been asked to program a hardware device with a four-digit display like the one above. The device is just like your discoboard but with an additional 32-bit display register dr which controls the display. Each byte of the register controls the segments for a different display digit. For example, ifthe "A" bit for digit 2 is 1, the top segment of digit 2 will be on, if the same bit is 0, itl be off (since there are only 7 segments, the top bit in each byte is unused). digit 3 digit 21 L -digit 1 digit 0 181 30 29 2827 26 2524 2322 212?19 1817 16151413 1211 1?9 8 7 6 5 4 3 2 1 GFEDCBA GFEDCBAGFEDCBA GFEDCBA This is what all the digits o-9 should look like on this display
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
