Challenge
In Chapter 3, Combinational Logic, we created a design that could perform some simple operations and display data in binary on the LEDs.
Modify the code to use the seven-segment display module to output the data rather than the LEDs, or in addition to the LEDs. Display in either hex or decimal. If you go the decimal route, you’ll either need to use the function for adding in decimal or do a conversion before displaying it.
Run it on the board to verify its operation.