ZYNQ7000 's Cache

Source: Internet
Author: User

  • "Simple record, add later"

  • 1. Cache Overview

      1. The cache is as the name implies, in order to solve the problem of speed mismatch between high speed CPU and low speed main memory. Cache according to the speed and capacity of different, can also be divided into L1, L2, L3, the speed is gradually slow, and capacity is increasing. The L1 cache difference between different CPUs is often small, so its performance is significantly related to the L2 cache capacity size.

  • 2. zynq7000 Cache Feature

  • The zynq7000 uses ARM cortex-a9 dual-core, with 2 levels of cache,32k L1 Icache and Dcache, as well as the 512K L2 Cache.

  • 3. Cache consistency

  • 3.1DMA vs. Cache consistency

  • Related functions:

  • When initializing: xil_settlbattributes

  • When sending: Dcacheflushrange

  • When received: Dcacheinvalidaterange

  • 3.2 Dual-core vs. Cache consistency

  • Xilinx's amp example simply shuts down CPU1 's L2 cache to resolve dual-core interaction consistency issues.

  • CPU0 running UC,CPU1 running Linux, you currently need to comment out the L2cache code in the cpu0 BSP, otherwise it will cause the uboot to not ping at startup and cannot start kernel

    ZYNQ7000 's Cache

    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.