Agilex™ 3 FPGA and SoC C-Series Development Kits User Guide

ID 851698
Date 9/02/2025
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 the swizzling setting in the Pin Swizzle Map field in the PHY section of the High-level Configuration IP Parameters tab in the External Memory Interfaces (EMIF) IP parameter editor.

Figure 26. Entering a PIN_SWIZZLE Specification
  1. For LPDDR4 bank 2A, use the following settings:
    BYTE_SWIZZLE_CH0=1,0,X,X,X,X,2,3;
    PIN_SWIZZLE_CH0_DQS0=0,1,3,2,6,7,4,5;
    PIN_SWIZZLE_CH0_DQS1=15,14,13,12,9,11,8,10;
    PIN_SWIZZLE_CH0_DQS2=19,20,21,18,17,16,23,22;
    PIN_SWIZZLE_CH0_DQS3=25,30,24,31,27,26,28,29;
  2. For LPDDR4 bank 3A, use the following settings:
    BYTE_SWIZZLE_CH0=3,2,X,X,X,X,1,0;
    PIN_SWIZZLE_CH0_DQS0=1,0,3,2,4,7,6,5;
    PIN_SWIZZLE_CH0_DQS1=9,15,14,13,8,11,10,12;
    PIN_SWIZZLE_CH0_DQS2=19,18,20,21,16,23,22,17;
    PIN_SWIZZLE_CH0_DQS3=26,27,24,25,30,31,28,29;