Nios® V Embedded Processor Design Handbook

ID 726952
Date 12/04/2023
Public

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

Document Table of Contents

8.3.6.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_crc --app-dir=sw/app_crc \
--srcs=sw/app_crc/srcs/
$ cmake -S ./sw/app_crc -G "Unix Makefiles" -B sw/app_crc/build
$ make -C sw/app_crc/build