Cache vs edma + l2 SRAM ???

Source: Internet
Author: User

In DSP algorithm design, we often encounter these two choices, or can they be combined? I haven't figured it out yet.

Option 1: Cache

Option 2: edma + l2 SRAM

On TI's website, we have done a calculation on the vlib calculation of the Canny edge. If pipeline is well designed, option 2 is faster. In fact, it depends on many factors.

1. Data Locality

2. The complexity of processing. The more complicated it is, the more advantageous it seems to be in L2.

3. The size of SRAM. At present, most TI DSPs can set up to kb or kb L2 SRAM, so the amount of data transferred at a time by edma directly affects the speed.

4. edma settings, whether it is a large amount of data at a time, or linked, chained, or ping-pong, have a great impact.

Summary before proceeding:

1. cache first. Pay attention to cache cohernce,

2. If it is not fast enough, test edma again, and finally consider ping-pong.

Better advice ????? Thanks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.