Communication between the SigmaStudio Host and Target is handled completely by the ARM Core Application. The ‘SigmaStudio for SHARC Target Library’ when integrated to a SHARC Application acts as one among the many processing modules in the SHARC Core Application. It takes audio sample and/or bit-stream data as input from one or more Sources/Modules and gives out processed audio samples as output. These output audio samples can be fed as input to another module in the Application.
For optimal performance, Block 4 in ADI_SS_MEM_MAP (Data- SSn Instance) and Block 5 in ADI_SS_MEM_MAP (Parameter- SSn Instance) should be mapped (in the .ldf file) to different memory blocks. This can be done by assigning “dm” for Block 4 and “pm” for Block 5 when declaring them.
SigmaStudio+ supplies a scratch DM memory buffer pointer and a scratch PM memory buffer pointer to Plug-Ins (available only in Block Processing). The DM scratch is allocated from Block 4 in ADI_SS_MEM_MAP and PM scratch is allocated from Block 5 in ADI_SS_MEM_MAP.
For target processors not containing an L3 memory section, the L3 data and code sections are mapped from the L2 section. The memory start address for this L2 code section is 0x200c0000 and the end address is 0x200D7FFF (96 kB) and for L2 data section is 0x200D8000 and the end address is 0x200F9FFF (160kB). Thus, the user must take care to accordingly set the memory ranges for mem_L2_bw memory section in app.ldf file present in the project. If L3 memory is present, then the start address for mem_L2_bw section is 0x20000000 and the end address is 0x200F9FFF. If L3 is not present then the end address of the mem_L2_bw section must be set to 0x200BFFFF.