Knowledge Base Article

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

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. 

Updated 3 months ago
Version 2.0
No CommentsBe the first to comment