Nios® V Embedded Processor Design Handbook

ID 726952
Date 10/02/2023

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

8.3.2. 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