Aries Embedded RISC-V on MAX10 Panduan Pengguna - Halaman 14
Jelajahi secara online atau unduh pdf Panduan Pengguna untuk Perangkat Keras Komputer Aries Embedded RISC-V on MAX10. Aries Embedded RISC-V on MAX10 20 halaman.
RISC-V on MAX10 User Guide
4.3 Programming the FPGA
The MAX10 FPGA supports programming the SRAM cells integrated into the FPGA fabric, this configura-
tion is lost whenever the FPGA is powered off and as such is useful for testing and debugging. The MAX10
FPGA also includes internal non-volatile FLASH to store a configuration image, which on powerup will be
loaded into the SRAM. This is usually used for deployment.
The FPGA image can be programmed either with Quartus Programmer using the output file *.svf to target
the SRAM or *.pof to target the FLASH or with OpenOCD using the output file *.svf to target the SRAM
or *_pof.svf to target the FLASH.
4.3.1 Quartus Programmer
Open the Quartus Programmer and under Hardware Setup. . . select the USB-Blaster. Then select the
either the .sof or .pof file in the project subdirectory output_files/ or the file corresponding to the module
in the directory with the prebuild files and press Start.
4.3.2 OpenOCD
Open a terminal and navigate to the project subdirectory output_files/ or the directory with the prebuild
files. Run one of the following commands (substitute <image> with the name of the file corresponding to
the module):
# To programm the SRAM
mx10spider <image>.svf
# To programm the FLASH
mx10spider <image>_pof.svf
Chapter 4. Programming the Demos
Page 14 of 20