Aries Embedded RISC-V on MAX10 사용자 설명서 - 페이지 14
{카테고리_이름} Aries Embedded RISC-V on MAX10에 대한 사용자 설명서을 온라인으로 검색하거나 PDF를 다운로드하세요. Aries Embedded RISC-V on MAX10 20 페이지.
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