We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 32751

11.1 EDK, MPMC v4.00.a - error: 'XPAR_DDR2_SDRAM_MPMC_HIGHADDR' undeclared here (not in a function)*


When running libgen with a MPMC driver with the MHS parameter C_ALL_PIMS_SHARE_ADDRESSES = 0, the following error occurs: 

Compiling mpmc 

xmpmc_g.c:27: error: 'XPAR_DDR2_SDRAM_MPMC_HIGHADDR' undeclared here (not in a function)* 

make[1]: *** [libs] Error 1 

How do I resolve this issue?


It is possible to workaround this issue by manually editing the MHS to include C_MPMC_BASEADDR and C_MPMC_HIGHADDR. Alternatively, changing the C_ALL_PIMS_SHARE_ADDRESSES to '1' and setting the required C_MPMC_BASEADDR and C_MPMC_HIGHADDR parameters will also resolve this error. 


This issue will be partially fixed in EDK 11.2 with MPMC v5.02.a by using C_PIM0_BASEADDR and C_PIM0_HIGHADDR when using C_ALL_PIMS_SHARE_ADDRESSES = 0.  


A more complete fix is currently planned with the newest MPMC released in EDK 11.3.

AR# 32751
Date Created 05/22/2009
Last Updated 05/23/2014
Status Archive
Type General Article