External Memory Interfaces (EMIF) IP User Guide: Agilex™ 3 FPGAs and SoCs

ID 847458
Date 4/24/2025
Public

Visible to Intel only — GUID: qfk1738437631475

Ixiasoft

Document Table of Contents

3.3.1.3. Example: Combining Pin and Byte Swizzling

This example combines the two previous examples, entering the following swizzle parameters:

  • PIN_SWIZZLE_CH0_DQS0=3,2,1,0,5,4,7,6;
  • PIN_SWIZZLE_CH0_DQS1=15,13,14,12,9,8,10,11;
  • BYTE_SWIZZLE_CH0=1,0X,X,X,X,2,3;

The following table shows the resulting pin placement after DQ pin and byte swizzling:

Table 20.  Lane Placement for Combining Pin and Byte Swizzling Placement
Lane Pin Index LPDDR4 x32 (Default placement) After Swizzling/Swapping
BL1 23 MEM_DQ[15] MEM_DQ[6]
22 MEM_DQ[14] MEM_DQ[7]
21 MEM_DQ[13] MEM_DQ[4]
20 MEM_DQ[12] MEM_DQ[5]
19    
18 MEM_DMI[1] MEM_DMI[0]
17 MEM_DDQ_C[1] MEM_DQS_C[0]
16 MEM_DDQ_T[1] MEM_DQS_T[0]
15 MEM_DQ[11] MEM_DQ[0]
14 MEM_DQ[10] MEM_DQ[1]
13 MEM_DQ[9] MEM_DQ[2]
12 MEM_DQ[8] MEM_DQ[3]
BL0 11 MEM_DQ[7] MEM_DQ[11]
10 MEM_DQ[6] MEM_DQ[10]
9 MEM_DQ[5] MEM_DQ[8]
8 MEM_DQ[4] MEM_DQ[9]
7    
6 MEM_DMI[0] MEM_DMI[1]
5 MEM_DQSC[0] MEM_DQS_C[1]
4 MEM_DQS_T[0] MEM_DQS_T[1]
3 MEM_DQ[3] MEM_DQ[12]
2 MEM_DQ[2] MEM_DQ[14]
1 MEM_DQ[1] MEM_DQ[13]
0 MEM_DQ[0] MEM_DQ[15]