I have a big problem.My platform is Virtex II Pro.I create a memory on the PLB bus.My code is
co_memory mem1;
mem1 = co_memory_create("mem1","mem1",MEMORY_SIZE * sizeof(co_int32));
But impulse c say I am wrong ,the wrong message is the following:
Undefined memory: mem1The following memories are defined for this platform: ext0 plbmem
I do not know why?Who can help me?
With regards
Yiqun Wang
Problem about plb co_memory_create
Started by wangyiqun1985, Apr 21 2009 04:49 AM
2 replies to this topic
#1
Posted 21 April 2009 - 04:49 AM
#2
Posted 21 April 2009 - 06:57 AM
Hi Yiqun,
As the error message suggests, there are two memory locations available when using the PSP you have selected: ext0 and plbmem. Use "plbmem" for the second argument to co_memory_create to create a memory on the PLB bus. Please read the section on the co_memory_create function in the CoDeveloper User's Guide for more details.
Regards,
Ralph
As the error message suggests, there are two memory locations available when using the PSP you have selected: ext0 and plbmem. Use "plbmem" for the second argument to co_memory_create to create a memory on the PLB bus. Please read the section on the co_memory_create function in the CoDeveloper User's Guide for more details.
Regards,
Ralph
Ralph Bodenner
Impulse Accelerated Technologies, Inc.
Impulse Accelerated Technologies, Inc.
#3
Posted 23 April 2009 - 05:22 AM
Hi
I tested out DMA on the PLB bus quite a while ago.
This is what I have for the ImageFilterDMA example.
shrmem = co_memory_create("image", "plbmem", IMG_WIDTH * IMG_HEIGHT * sizeof(uint16));
shrmem2 = co_memory_create("image2", "plbmem", IMG_WIDTH * IMG_HEIGHT * sizeof(uint16));
co_architecture co_initialize()
{
return(co_architecture_create("img_arch", "xilinx_ppc_plb", config_img, NULL));
}
Hope this helps.
With regards
Yan Lin Aung
I tested out DMA on the PLB bus quite a while ago.
This is what I have for the ImageFilterDMA example.
shrmem = co_memory_create("image", "plbmem", IMG_WIDTH * IMG_HEIGHT * sizeof(uint16));
shrmem2 = co_memory_create("image2", "plbmem", IMG_WIDTH * IMG_HEIGHT * sizeof(uint16));
co_architecture co_initialize()
{
return(co_architecture_create("img_arch", "xilinx_ppc_plb", config_img, NULL));
}
Hope this helps.
With regards
Yan Lin Aung
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











