ICE 7: RISC-V LED

ICE 7: RISC-V LED#

Time to get your hands dirty with RISC-V Assembly Programming!

  1. Clone USAFA-ECE/ece281-ice7. You don’t have to make your own copy because there is no submission for this ICE.

  2. Open it in VS Code and install the recommended extensions

  3. Complete the missing assembly, based on the comments

  4. Go to Run > Start Debugging

  5. Open the LED panel if it didn’t automatically. To open the LED panel, press ctrl + shift + p, then type Venus: Open LED Matrix in the search box, then press enter.

  6. View the registers

  7. View the memory

  8. Step through the program, watch the registers change and the LEDs illuminate. Your fully illuminated LED matrix should look like:

../_images/ICE_7_Completed_LED_Matrix.png

Fig. 30 RISC-V logo displayed on the RISC-V Venus Simulator 10x10 LED matrix#

  1. Smile!

RISC-V Logo