Build

About this task

Choose Project > Build Project or click the Build Project toolbar button. Alternatively, right-click the project name in Project Explorer > Build Project.

Efinix recommends cleaning your project before building to ensure all files are compiled. To clean project, right-click on the project in Project Explorer > Clean Project.

Results

The makefile builds the project and generates these files in the build directory:
  • <project name>.asm—Assembly language file for the firmware.
  • <project name>.bin—Firmware binary file. Download this file to the flash device on your board using OpenOCD. When you turn the board on, the SoC loads the application into the RISC-V processor and executes it.
  • <project name>.elf—Executable and linkable format. Use this file when debugging with the OpenOCD debugger.
  • <project name>.hex—Hex file for the firmware. (Do not use it to program the FPGA.)
  • <project name>.map—Contains the SoC address map.