This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

edma和idma的数据搬移会影响L2或L1D的cache miss吗?



TI专家们:

      硬件平台:C6678

      请问在C6678中,edma和idma的数据搬移会影响L2或L1D的cache miss吗?换句话问,做EDMA数据搬移时,从DDR搬到L2上的数据会cache到L2的cache         吗?

       谢谢!!!

  • DDR cache一致性是需要软件维护的,即EDMA对DDR数据的操作不会更新到对应的cache中,所以在EDMA搬完数据到DDR后,core再次进行DDR访问前需要cache invalid才能保证读到最新的数据。

    你说的EDMA将数据从DDR搬到L2这个case,数据在搬到L2后,并不会影响DDR地址与cache的关系,在数据搬完到L2后,core可以直接从L2读取数据。