Visible to Intel only — GUID: kwy1694137179786
Ixiasoft
5.1. Migrating Nios® II Processor to Nios® V Processor
5.2. Timer
5.3. Interrupt
5.4. Ethernet Stack
5.5. Bootloader
5.6. Data and Instruction Cache
5.7. Tightly Coupled Memory
5.8. Custom Instructions
5.9. Error Correction Code
5.10. Intel® HAL Settings
5.11. Micrium MicroC/OS-II BSP Settings
5.12. Software Packages
Visible to Intel only — GUID: kwy1694137179786
Ixiasoft
4.2.1.1. Hardware Component
If you compile your design using Quartus® Prime Standard Edition, you can start the migration from Platform Designer. The following figure shows an example of the Nios® II Processor QSYS design.
Figure 1. Nios® II Processor Qsys Design
- From IP Catalog, search for Nios® V processor. Identify your preferred processor core.
- Double-click on your selected processor.
- The parameters window appears. Select Enable Reset from Debug Module. Click Finish.
- The selected processor core is added to your system. Proceed to set the required connections based on the table below:
Table 7. Nios® II Processor to Nios® V Processor Interfaces Interface Nios® V Processor Nios® II Processor Description Clock clock clock Similar clock input Reset reset reset Similar hard reset Debug reset - dbg_reset_out
- ndm_reset_in
debug_reset_request Mainly used to issue debug reset from CLI or IDE. By default, this feature is enabled in Nios® II/e processor but disabled in Nios® V/m processor. Interrupts platform_irq_rx irq Nios® II/e processor supports 32 platform interrupts. Nios® V/m processor supports 16 platform interrupts. Timer and Software Interrupt Module timer_sw_agent — Only supported in Nios® V/m and Nios® V/g processors. By default, it is connected to the data manager. Debug dm_agent debug_mem_slave Allow JTAG download and debug. For Nios® V/m and Nios® V/g processors, it is connected to the data manager and instruction manager by default. Not applicable to Nios® V/c processor. Data bus data_manager data_master - Nios® II/e processor uses Avalon® memory-mapped interface.
- Nios® V/m processor uses Arm* AMBA* AXI-4.
Instruction bus instruction_manager instruction_master - Nios® II/e processor uses Avalon memory-mapped interface.
- Nios® V/m processor uses Arm AMBA AXI-4.
- Open your selected Nios® V processor IP. Click Vectors > Reset Agent and update the parameter as onchip_memory2_0.s1
- Remove Nios® II processor from the Platform Designer. A preview of the final system is shown as below.
Figure 2. Nios® V Processor System