Embedded Design Handbook

ID 683689
Date 8/28/2023
Public
Document Table of Contents

3.5.6.1. Application Description

This video processing application employs an algorithm that operates on a full frame of video data, line by line. Other details of the algorithm do not impact design of the memory subsystem. The data flow includes the following steps:

  1. A dedicated DMA engine copies the input data from the video source to a buffer.
  2. A Nios® II processor operates on that buffer, performing the video processing algorithm and writing the result to another buffer.
  3. A second dedicated DMA engine copies the output from the processor result buffer to the video output device.
  4. The two DMAs provide an element of concurrency by copying input data to the next input buffer, and copying output data from the previous output buffer at the same time the processor is processing the current buffer, a technique commonly called ping-ponging.
Figure 22. Sample Application Architecture