Visible to Intel only — GUID: amr1659642053048
Ixiasoft
Visible to Intel only — GUID: amr1659642053048
Ixiasoft
6.2.1.5. Example (Recommended) System Memory Mapping Scheme
When using ECC, the FPGA (through FPGA-to-HPS) memory map and the MPU memory map must match. During ECC calculations, all internal address bits are used, therefore, in order to prevent ECC Double Bit Error (DBE), the entire address used to access DDR memory must be the same for any master of that memory.
When using Clam Shell Mode, the address ranges of the MPU accessing external DDR must be configured to certain memory spaces within the total HPS memory map.
Intel highly recommends using the following memory maps.
Total DDR size (non-Clam Shell) (ECC or non-ECC) |
Partition | External DDR address range | Address range for MPU | Address range for FPGA |
---|---|---|---|---|
2 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
4 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
2 GB | 2 GB – 4 GB | 66 GB – 68 GB | 66 GB – 68 GB | |
8 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
6 GB | 2 GB – 8 GB | 66 GB – 72 GB | 66 GB – 72 GB | |
16 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
14 GB | 2 GB – 16 GB | 66 GB – 80 GB | 66 GB – 80 GB | |
32 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
30 GB | 2 GB – 32 GB | 66 GB – 96 GB | 66 GB – 96 GB | |
64 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
62 GB | 2 GB – 64 GB | 66 GB – 128 GB | 66 GB – 128 GB |
Total DDR size (Clam Shell) (ECC or non-ECC) |
Partition | External DDR address range | Address range for MPU | Address range for FPGA |
---|---|---|---|---|
2 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
4 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
2 GB | 2 GB – 4 GB | 66 GB – 68 GB | 66 GB – 68 GB | |
8 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
6 GB | 2 GB – 8 GB | 66 GB – 72 GB | 66 GB – 72 GB | |
16 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
14 GB | 2 GB – 16 GB | 66 GB – 80 GB | 66 GB – 80 GB | |
32 GB | 2 GB | 0 GB – 2 GB | 0 GB – 2 GB | 0 GB – 2 GB |
30 GB | 2 GB – 32 GB | 66 GB – 96 GB | 66 GB – 96 GB | |
64 GB | — | N/A | N/A | N/A |
- Intel recommends updating the U-boot DTS Memory Region Alias to match the FPGA memory map with the HPS memory map. For more information, refer to the following example: How to configure FPGA-to-SDRAM interface when ECC is turned on .
- Intel recommends configuring the FPGA-to-SDRAM MPU Firewall Region Settings in U-boot SPL. For more information, refer to the following example: How to configure FPGA-to-SDRAM interface when ECC is turned on .