Large-scale data movement between
memories is accomplished using the EDMA. Using the EDMA is more efficient than using
the processor to move data because while the data movement is being completed, the
DSP and HWA can continue to process data. The EDMAs work on a ping-pong buffer,
meaning that as the ping buffer is being filled, the pong buffer can be used by the
HWA or DSP for processing.
The major data transfers necessary
include:
- Moving the compressed 1D FFT
output from the rangeproc DPU into the L3 memory. This forms the compressed
radarcube.
- Fetching one slice of the
compressed radarcube and copying it to HWA memory for decompression.
- Copying decompressed slice of
radarcube into a scratch buffer in L3 for further processing.
- Copying decompressed radarcube
slice one range-gate at a time into HWA for Doppler processing.
- Moving 2D FFT output from HWA
memory to Doppler FFT scratch submatrix buffer in L2.
- Moving outputs of CFAR, Local
Max, and azimuth FFT from HWA memory into buffers in L2.
- Triggering the HWA processing
upon relevant input EDMA completion (writing a one hot signature into the
appropriate HWA register via chained EDMA).