AN 978: Nios® V Processor Migration Guidelines

ID 773196
Date 5/15/2024
Public
Document Table of Contents

4.1. Difference in the Design Flow

Table 6.  Migration Consideration by Design Flow
Design Stage Nios® V Processor Nios® II Processor Migration Consideration
Quartus® Prime Project Creation Create a new project using the New Project Wizard. Create a new project using the New Project Wizard. None
Define and Generate System in the Platform Designer
  1. Instantiate the Nios® V processor core.
  2. Create a Nios® V processor system with basic peripherals.
  1. Instantiate the Nios® II processor core.
  2. Create a Nios® II processor system with basic peripherals.
  1. Nios® V processor has a similar interface as the Nios® II processor. You can replace the interface in the Platform Designer.
  2. Refer to the Table Core Migration for the processor core mapping guidelines.
  3. Refer Table Primary Interface for the signals connection mapping guidelines.
Invoke the BSP Editor
  • For Quartus® Prime Pro Edition software:
    • Use the Platform Designer.
  • For Quartus® Prime Standard Edition software:
    • Use the Nios® V Command Shell with the command niosv-bsp-editor.
  • You can use the Nios® II Embedded Design Suite (Eclipse IDE) in both Quartus® Prime software editions.
  • Alternatively, you can use the following software:
    • For Quartus® Prime Pro Edition software, use the Platform Designer.
    • For Quartus® Prime Standard Edition software, use the Nios II Command shell with the command nios2-bsp-editor.
Invoke the BSP Editor with a different tool.
Create system file for BSP Editor
  • For Quartus® Prime Pro Edition software, use .qsys file.
  • For Quartus® Prime Standard Edition software, use sopcinfo file.
For both Quartus® Prime software editions, use sopcinfo file. Different input file to create the BSP settings file.
Configure and generate the BSP
  1. Decide what features the BSP requires by specifying the components in the BSP and relevant settings.
  2. Generate the settings.bsp file using the following tools:
    • Option 1: BSP Editor in Platform Designer.
    • Option 2: niosv-bsp utility.
  3. Import the BSP folder into Ashling* RiscFree* IDE for Intel® FPGAs.
  1. Decide what features the BSP requires by specifying the components in the BSP and relevant settings.
  2. Generate the settings.bsp file using the following tools:
    • Option 1: BSP Editor in Nios® II EDS
    • Option 2: nios2-bsp utility.
  • Ashling* RiscFree* IDE for Intel® FPGAs does not support new Nios® V processor BSP project creation. You need to import the BSP project.
  • Apply different CLI command for BSP generation.
Generate the APP folder
  1. Develop the application code based on the hardware design.
  2. Generate an application build CMakeLists.txt using the niosv-app utility.
  3. Import the APP folder into Ashling* RiscFree* IDE for Intel® FPGAs.
  1. Develop the application code based on the hardware design.
  2. Generate an application build MakeFiles using the following tools:
    • Option 1: Nios® II EDS
    • Option 2: nios2-app-generate-makefile utility.
  • Ashling* RiscFree* IDE for Intel® FPGAs does not support new Nios® V processor APP project creation. You need to import the APP project.
  • Apply different CLI command for APP generation.
Build the ELF Use one of the following tools:
  • Option 1: Ashling* RiscFree* IDE for Intel® FPGAs.
  • Option 2: cmake and make command.
Use one of the following tools:
  • Option 1: Nios® II EDS
  • Option 2: make command
Different development tools build flow.
Download the ELF Use one of the following tools:
  • Option 1: Ashling* RiscFree* IDE for Intel® FPGAs.
  • Option 2: niosv-download command.
Use one of the following tools:
  • Option 1: Nios® II EDS
  • Option 2: nios2-download command.

Different development tools and ELF download command.

Open the JTAG UART Terminal

Use the juart-terminal command.

Use one of the following tools:
  • Option 1: Nios® II Console in Nios® II EDS
  • Option 2: nios2-terminal command.

  1. Ashling* RiscFree* IDE for Intel® FPGAs does not support native JTAG UART terminal. You can open the terminal using External Tools Configuration feature.
  2. Different open terminal command for JTAG UART Intel FPGA IP..