AnsweredAssumed Answered

User Create DelayNTapNOutOffchip

Question asked by fjlasjdfkj322038402 on Jun 27, 2016
Latest reply on Jul 1, 2016 by fjlasjdfkj322038402


I want to create a “DelayNTapNOutOffchip” module. I refer to the C code of the “Off chip Delay (Extern Port)” module. I have a few questions.


1. There is 1 input and N output in “DelayNTapNOutOffchip” . So the DMA write 1 block data to SDRAM only. If nChannels = 8 here, it will write 8 times from pSamples to apExtBufferPtrs. I want to write 1 time only. How do I configure DMA?





2. The size unit is words or bytes in the fuction memcpy?

memcpy(pBlkAlgoInfo->pOutputs[nInd].pSamples, pOffchipDelay->apInternalBufferPtrs[nInd][pOffchipDelay->bInternalBufferToggle], nBlockSize);