Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 4/01/2024
Public
Document Table of Contents

4.1.6.1.1. Address Space Configuration

All AIUs and DCEs in the CCU system must be configured with the same peripheral and memory address space configuration. This involves two main configuration steps as following:

  • DMI interleaving configuration, this requires configuring following two registers
    • xAMIGR must be configured to select desired MIGS, by default MIGS 0 is selected
    • xMIFSR must be configured to select desired interleaving function, that is, address bits used for DMI interleaving, by default option 0 is selected
  • GPAS configuration which requires configuring following 3 registers per address region
    • xGPRAR must be configured with attributes of the address region which include:
      • Home unit type (HUT) which specifies type of memory. System memory is mapped to a DMI and peripheral memory is mapped to a DII.
      • Home unit identifier (HUI) which specifies target DMI or DII. In the case of DII the Nunit ID must be specified and in the case of DMI MIG number within the selected MIGS in xAMIGR must be specified.
      • Size which is specified as a binary number from 0 to 31 from which the region size is calculated as (size of IG) * 2^(size+12) bytes. Here size of IG is the number of DMIs within the selected MIG, it is always 1 for DII.
    • xGPRBLR must be configured with lower order address bits 43:12 of the base address of the region
    • xGPRBHR must be configured with higher order address bits of the base address of the region