Article ID: 000099315 Content Type: Product Information & Documentation Last Reviewed: 08/13/2024

Why does 'msgdma_rx' undeclared in Nios® II Simple Socket Server Ethernet Example in Quartus® Prime Standard Edition Software 18.1?

Environment

    Intel® Quartus® Prime Standard Edition
    Nios® II Processor

Windows 11* Family

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

Due to a problem in the Nios II® Simple Socket Server Ethernet Example in the Intel® Quartus® Prime Standard Edition Software version 18.1, the following error is generated:

alt_sys_init.c:110:37: error: 'msgdma_rx' undeclared (first use in this function)
Makefile:769: recipe for target 'obj/alt_sys_init.o' failed
     ALTERA_MSGDMA_INIT ( MSGDMA_RX, msgdma_rx);

The function used in alt_sys_init.c is ALTERA_MSGDMA_INSTANCE(), but this function is undefined in altera_msgdma.h. The corresponding function defined in altera_msgdma.h is

ALTERA_MSGDMA_CSR_DESCRIPTOR_SLAVE_RESPONSE_INSTANCE().

This discrepancy leads to the undeclared 'msgdma_rx'  error.

 

 

Resolution

This problem has been fixed starting with the Quartus® Prime Pro Edition Software version 18.1 and Quartus® Prime Standard Edition Software version 20.1. 

Related Products

This article applies to 1 products

Intel® Cyclone®

1