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.

在6678上如何将MSMC改到L3上?



如题,要求MSMC 放在L3上?如何更改配置呢?十分感谢

  • 需要通过MPAX就MSMC的物理地址映射到一个新的虚拟地址上去,并修改MAR寄存器将这段新的虚拟地址设置为可cache。具体见spruhj6文档的2.3.1

    "> Shared Level 3 memory—The MSMC memory is not directly cacheable at the
    C66x L2, but is cacheable in C66x L1D and L1P. However, if it is remapped to an
    external address using the address-extension capabilities in the C66x CorePac
    MPAX, the MSMC memory can be cached as a shared L3 memory both in the L1
    and L2 caches of C66x CorePac. To achieve this, the caching must be enabled in
    MAR registers (using MAR.PC bit) for the remapped region.