Nios® V Embedded Processor Design Handbook

ID 726952
Date 5/13/2024
Document Table of Contents Software Development Flow

Creating the example design software image for the custom instruction example design consist of the following general steps:
  1. Creating a board support package (BSP) project with niosv-bsp.
  2. Creating a Nios® V processor application project with the provided software design files with niosv-app.
  3. Building the application project with CMake and Make.

After launching the Nios V Command Shell, run the following commands.

$ niosv-bsp -c --quartus-project=hw/<Project Name>.qpf \
--qsys=hw/<System Name>.qsys --type=hal sw/bsp/settings.bsp
$ niosv-app --bsp-dir=sw/bsp --app-dir=sw/app \
$ cmake -S ./sw/app -G "Unix Makefiles" -B sw/app/build
$ make -C sw/app/build