Aries Embedded RISC-V on MAX10 Manuel de l'utilisateur - Page 13

Parcourez en ligne ou téléchargez le pdf Manuel de l'utilisateur pour {nom_de_la_catégorie} Aries Embedded RISC-V on MAX10. Aries Embedded RISC-V on MAX10 20 pages.

RISC-V on MAX10 User Guide
CHAPTER
FOUR

PROGRAMMING THE DEMOS

Note: The directory Prebuild contains a precompiled firmware image aswell as a prebuild FPGA image.
These can be used to skip the corresponding steps in this chapter.

4.1 Compiling the Firmware

Navigate to the project directory corresponding to the module (Spider_S, MX10_S8, MX10_U). The RISC-
V firmware is available as a simple, standalone version (RiscvSimple) or using FreeRTOS (RiscvFreeRTOS).
Both versions demonstrate the same functionality, a binary counter on PMod J3 and loopback on UART.
Open a terminal and navigate to either firmware and call make

4.2 Building the Hardware Design

Copy the file bootrom.mif from either the previous step or from the precompiled files to the Quartus
Project directory corresponding to the module, then start Intel Quartus Prime and open the project. Press
Start Compilation and Quartus will build the FPGA image and generate the programming files in the
subdirectory output_files/
Chapter 4. Programming the Demos
Page 13 of 20