Agilex™ 5 FPGA E-Series 065B Premium Development Kit User Guide

ID 814550
Date 8/05/2024
Public
Document Table of Contents

6.2. EMIF Pin Swizzling Setting

DQ pins within a DQS group or/and DQS group are swapped to simplify board design.
To achieve the swizzling, you must enter swizzling setting in the User Extra Parameters field of the Additional Parameters tab in the Advanced Parameters section of the General IP Parameters tab in the External Memory Interfaces (EMIF) IP parameter editor.
Figure 60. Entering a PIN_SWIZZLE Specification
  1. For LPDDR4, use the following settings:
    BYTE_SWIZZLE_CH0=3,2,X,X,X,X,1,0;
    PIN_SWIZZLE_CH0_DQS0=3,2,1,0,5,4,7,6;
    PIN_SWIZZLE_CH0_DQS1=15,13,14,12,9,8,10,11;
    PIN_SWIZZLE_CH0_DQS2=16,18,17,19,23,20,22,21;
    PIN_SWIZZLE_CH0_DQS3=31,30,28,29,25,24,26,27;
  2. For DDR4 Bank 3A, use the following settings:
    BYTE_SWIZZLE_CH0=0,X,X,X,1,2,3,ECC;
    PIN_SWIZZLE_CH0_DQS0=0,2,6,4,1,3,5,7;
    PIN_SWIZZLE_CH0_DQS1=12,15,8,11,14,10,13,9;
    PIN_SWIZZLE_CH0_DQS2=20,16,18,22,23,17,19,21;
    PIN_SWIZZLE_CH0_DQS3=26,30,28,24,25,27,31,29;
    PIN_SWIZZLE_CH0_ECC=2,6,0,4,5,3,7,1;
  3. For DDR4 Bank 2B, use the below settings:
    BYTE_SWIZZLE_CH0=0,X,X,X,1,2,3,ECC;
    PIN_SWIZZLE_CH0_DQS0=3,1,7,5,0,4,6,2;
    PIN_SWIZZLE_CH0_DQS1=11,9,15,13,12,14,8,10;
    PIN_SWIZZLE_CH0_DQS2=17,21,19,23,16,22,18,20;
    PIN_SWIZZLE_CH0_DQS3=29,31,27,25,30,26,24,28;
    PIN_SWIZZLE_CH0_ECC=1,3,7,5,6,2,0,4;