Cache Allocation Workflow
- Use the Cache Configurator to reserve a portion of cache calledsoftware SRAMwith specific properties (size, memory access latency, and CPU core) based on the requirements for the buffer that real-time applications will allocate through the cache allocation library.Optionally:partition the remaining cache among other agents, such as GPU and I/O.
- Prepare your real-time application to execute with specific CPU affinity based on the cache region reserved in step 2. For details, see Specify CPU Affinity of the Real-time Application.Software SRAM buffers in the L3 cache can be accessed from any core. Software SRAM buffers in the L2 cache must only be accessed by a core local to the cache instance.