Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 7/19/2024
Public
Document Table of Contents

4.1.6.1.2. SMC Configuration

Follow these steps to configure and enable SMC:

  • Poll register DMIUSMCISR to make sure both tag and data RAMs have been initialized
  • Configure register DMIUSMCAPR to specify desired cache allocation policy
  • Configure registers DMIUSMCWPCRx to set up way partitioning
  • Configure register DMIUSMCTCR to enable the SMC in two steps:
    • Enable cache lookup by setting LookupEn bit
    • Enable cache allocation by setting AllocEn bit