Ashling* RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide

ID 730783
Date 4/11/2025
Public
Document Table of Contents

3.3.2. Creating Nios® V Processor Application Project using Nios® V App Generator

Note: You have to generate your BSP before generating the Nios® V Processor Application Project.

Follow these steps to create a Nios® V processor application project for Visual Studio Code.

  1. Click the Ashling icon to open the Ashling Sidebar.
    Figure 111. Ashling Sidebar
  2. Go to Ashling Project View > Tools > Nios V APP Generator.
    Figure 112. Nios V App Generator
  3. A Create Nios V Application window appears. For Existing BSP location, click the ... icon to identify the App location automatically.
    Figure 113.  Create Nios V Application - Existing BSP location and App Location
  4. Select the sample code in the Sample selection.
    Figure 114. Create Nios V Application – Sample Selection

    The default sample selections are hello_ucosii and hello_world.

    Note: You can manually add your custom sample code folder to the following directory: <Quartus Installation Directory>\niosv\examples\software. Once you place the sample code folder in this directory, it is available in the Sample selection drop-down menu.
    Figure 115. Manually Adding Custom Sample Code to Sample Selection Menu (in VS Code)

    This figure shows the manually added sample code, which is hello_from_niosvg.

    Figure 116. Manually Adding Custom Sample Code to Sample Selection Menu (in Quartus® Prime Installation Folder)
  5. Leave the Add application to the workspace option as default and click Create. Once the application is successfully generated, you can find the prints in the terminal as shown in the following diagram.
    Figure 117. Terminal Prints
    Note: If you want to include more sources into the CMakeLists.txt, you can use the up arrow key to retrieve the previous command (niosv-app) in the terminal.