Sign in

username:

password:



Not a member?

Search code-comp



Search tips

Subscribe to code-comp



code-comp by Keywords

ARM7 | BIOS | Bug | EVM | JTAG | Linker | LOG_printf | McBSP | Profiling | Relocation | RTDX | Simulator | Target | Watch


Discussion Groups

Discussion Groups | Code-Composer | Share Table for DSP algorithm

Technical discussions about Code Composer Studio.

  

Post a new Thread

Share Table for DSP algorithm - to_ojo - Nov 15 15:09:00 2004





I use DSP board model TMS320C6713 and CCS V 2.21.00
and use Component wizard for ExpressDSP to generate Standard API for
G729 algorithm

According to SPRU360C
Page 1-17
.
.
.
memTab[2].size = sizeof(G729D_VND_EncoderTable);
memTab[2].alignment = 0; /* no alignment */
memTab[2].type = IALG_WRITEONCE;
memTab[2].space = IALG_SARAM; /* single-access on-chip */
memTab[2].base = &G729D_VND_EncoderTable; /* shared look-up
table */
.
........
following this code you will share Table data among algorithm object but
I try to do like this it not work because this memtab won't be allocated

in my opinion alg_alloc api /* "@(#) XDAS 2.50.02 11-28-03
(xdas,dsk6713-a05)" */ don't support share memory because
* ======== alg_malloc.c ========
* This module implements an algorithm memory management "policy"
in which
* no memory is shared among algorithm objects. Memory is, however
* reclaimed when objects are deleted.

HOW should I do for allocate share memory for Look-up table ?

Thank you .





(You need to be a member of code-comp -- send a blank email to code-comp-subscribe@yahoogroups.com )