IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Make error: USER_LOGIC_MD_MODULE_0_CONFIG_BASE undeclared (first use in this function)
Laviewwx
post Nov 30 2009, 12:54 PM
Post #1


Member
**

Group: Members
Posts: 3
Joined: 26-February 09
Member No.: 2,382



Hi all,

I met a problem about USER_LOGIC_MD_MODULE_0_CONFIG_BASE in compiling the makefile, the original error message is
/*******************************************/
gcc -I inc -I linux_driver -c -o co_init.o -O2 -Wall co_init.c
co_init.c: In function âco_initializeâ:
co_init.c:68: error: âUSER_LOGIC_MD_MODULE_0_CONFIG_BASEâ undeclared (first use in this function)
co_init.c:68: error: (Each undeclared identifier is reported only once
co_init.c:68: error: for each function it appears in.)
make: *** [co_init.o] Error 1
/*******************************************/

the problematic code in the co_init.c are

co_memory_attach(Input_memory, xd_fpga_handle, ZBT_SRAM_AVALON_0_BASE, USER_LOGIC_MD_MODULE_0_CONFIG_BASE);
co_memory_attach(Output_memory, xd_fpga_handle, ZBT_SRAM_AVALON_0_BASE, USER_LOGIC_MD_MODULE_0_CONFIG_BASE);

I have a reference design which works perfect, it also have the same declaration of SDRAM, so I am confused and may anyone give me some hint about the error code?

I assume the USER_LOGIC_MD_MODULE_0_CONFIG_BASE specifies the memory bank that FPGA uses, is it problematic that I target all my three HW processes to the same "PE0"? The place and route is done w/o error.

Thank you
Weixin
Go to the top of the page
 
+Quote Post
etrexel
post Dec 2 2009, 05:21 PM
Post #2


Advanced Member
***

Group: Impulse Staff
Posts: 235
Joined: 20-April 06
Member No.: 594



This is a duplicate thread, please see: http://impulse-support.com/forums/index.php?showtopic=1021


--------------------
Ed Trexel
Impulse Accelerated Technologies, Inc.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 30th July 2010 - 06:19 AM