Nios® V Embedded Processor Design Handbook

ID 726952
Date 11/25/2024
Public
Document Table of Contents

5.7.1. Configuring Hardware Name

The global structure of type "alt_tse_system_info" (named "tse_mac_device") reflects the IP names according to the system.h file. If you change the default IP names or not using the default hardware project, you must update the following names in main.c source code. You can find the source code in the software/apps folder.

The latest IP names can be found in the system.h file after the hardware compilation in Quartus® Prime software. The header file is located in the BSP folder.

The following table lists the example design and the default IP names.
Table 37.  Default IP Names
Example Design IP Name
TSE SYS_TSE
TX MSGDMA SYS_TSE_MSGDMA_TX
RX MSGDMA SYS_TSE_MSGDMA_RX
Descriptor Memory SYS_DESC_MEM
Figure 100. Example Design Platform Designer System

Default Hardware Names in main.c

alt_tse_system_info tse_mac_device[MAXNETS] = {
    TSE_SYSTEM_EXT_MEM_NO_SHARED_FIFO(
        SYS_TSE,              // tse_name
        0,                    // offset
        SYS_TSE_MSGDMA_TX,    // msgdma_tx_name
        SYS_TSE_MSGDMA_RX,    // msgdma_rx_name
        TSE_PHY_AUTO_ADDRESS, // phy_addr
        NULL,                 // phy_cfg_fp
        SYS_DESC_MEM          // desc_mem_name
    )
};