如题,要求MSMC 放在L3上?如何更改配置呢?十分感谢
Adam Yao94020:
需要通过MPAX就MSMC的物理地址映射到一个新的虚拟地址上去,并修改MAR寄存器将这段新的虚拟地址设置为可cache。具体见spruhj6文档的2.3.1
"> Shared Level 3 memory—The MSMC memory is not directly cacheable at theC66x L2, but is cacheable in C66x L1D and L1P. However, if it is remapped to anexternal address using the address-extension capabilities in the C66x CorePacMPAX, the MSMC memory can be cached as a shared L3 memory both in the L1and L2 caches of C66x CorePac. To achieve this, the caching must be enabled inMAR registers (using MAR.PC bit) for the remapped region.