pinout module#
The LPDDR4 x32 pinout the VP1002 offers on banks 702 and 701, as data.
Positions are triplet-relative: Pos(bank, nibble, pin), where bank is
0, 1 or 2 within the triplet, nibble is N0 to N8 and pin is P0 to P5.
Pos.index is the MxP number in the pin file’s pin names. On the
VP1002 the only triplet is M0, banks 700, 701 and 702.
The layout is the single channel x32 pinout, flipped, on the third and second
banks of the triplet. Its free choices are AMD’s two LPDDR4/4X pin swaps:
a byte may take either byte slot of its channel, with its DQS and DMI, and a
byte’s eight DQ may take its slot’s DQ pins in any order. Command, address,
clock, chip select, clock enable, reset and system clock pins are fixed.
That is 2 * 2 * factorial(8) ** 4 assignments,
assignment_count().
Sources#
AMD PG313, Versal Adaptive SoC Programmable Network on Chip and Integrated Memory Controller LogiCORE IP Product Guide, v1.1, 2026-06-23, “LPDDR4/4X Pin Rules” (the swaps, Tables 1 and 2) and “Single Channel LPDDR4/4X Interfaces” (the nibble use).
AMD Vivado-Design-Tutorials, tag 2025.2,
Versal/PCB_Design/Memory_Pinouts/README.md, Appendix B (the flipped pinout).PG313 places most fixed pins only to the nibble. The pin within each nibble is where channel 0 of AMD’s VMK180, VCK190 and VPK120 boards puts it (XilinxBoardStore tag 2025.2; VCK190 from Vivado-Design-Tutorials tag 2025.2,
lpddr4_mc3_vck190.xdc). VCK190 is single rank and has no CS1.The offer has one CKE per channel, as every one of those boards maps it, including the dual-rank VMK180 and VPK120; a design nets it to both of the memory channel’s CKE balls. UG863’s LPDDR4/4x timing table lists CKE0 and CKE1 per channel for dual-rank devices, so a design that needs a second CKE does not use this layout as is.
PG313 says every pin swap must be captured in the design’s XDC and validated before generating hardware. This module exports no XDC and does not claim Vivado legality: validating the chosen assignment is the designer’s step.
- class ByteSlot(channel, bank, dqs_nibble)[source]#
Bases:
objectThe nibble pair one byte occupies: DQS_T and DQS_C on P0 and P1 of one nibble, DMI on P0 of its partner, the eight DQ on P2 to P5 of both.
- class PinLayout(slots, fixed)[source]#
Bases:
objectA layout at pin level: the fixed pins and the byte slots.
- LPDDR4_X32 = PinLayout(slots=(ByteSlot(channel=<Channel.A: 'A'>, bank=1, dqs_nibble=3), ByteSlot(channel=<Channel.A: 'A'>, bank=2, dqs_nibble=5), ByteSlot(channel=<Channel.B: 'B'>, bank=1, dqs_nibble=7), ByteSlot(channel=<Channel.B: 'B'>, bank=2, dqs_nibble=6)), fixed={'CA2_A': Pos(bank=2, nibble=0, pin=0), 'CS1_A': Pos(bank=2, nibble=0, pin=1), 'CA1_A': Pos(bank=2, nibble=0, pin=2), 'CA0_A': Pos(bank=2, nibble=0, pin=3), 'CS0_A': Pos(bank=2, nibble=0, pin=4), 'CA3_A': Pos(bank=2, nibble=0, pin=5), 'CK_T_A': Pos(bank=2, nibble=1, pin=0), 'CK_C_A': Pos(bank=2, nibble=1, pin=1), 'CA4_A': Pos(bank=2, nibble=1, pin=2), 'CA5_A': Pos(bank=2, nibble=1, pin=3), 'CKE_A': Pos(bank=2, nibble=1, pin=4), 'CA0_B': Pos(bank=2, nibble=2, pin=2), 'CA3_B': Pos(bank=2, nibble=2, pin=4), 'CA2_B': Pos(bank=2, nibble=2, pin=5), 'CK_T_B': Pos(bank=2, nibble=3, pin=0), 'CK_C_B': Pos(bank=2, nibble=3, pin=1), 'CA5_B': Pos(bank=2, nibble=3, pin=2), 'CA4_B': Pos(bank=2, nibble=3, pin=3), 'CKE_B': Pos(bank=2, nibble=3, pin=4), 'CA1_B': Pos(bank=2, nibble=3, pin=5), 'CS0_B': Pos(bank=2, nibble=7, pin=1), 'CS1_B': Pos(bank=2, nibble=4, pin=1), 'SYS_CLK_P': Pos(bank=2, nibble=8, pin=0), 'SYS_CLK_N': Pos(bank=2, nibble=8, pin=1), 'RESET_N': Pos(bank=2, nibble=8, pin=2)})#
single channel x32, flipped, on banks 702 and 701.
- Type:
The offered layout
- assignment_count(layout=PinLayout(slots=(ByteSlot(channel=<Channel.A: 'A'>, bank=1, dqs_nibble=3), ByteSlot(channel=<Channel.A: 'A'>, bank=2, dqs_nibble=5), ByteSlot(channel=<Channel.B: 'B'>, bank=1, dqs_nibble=7), ByteSlot(channel=<Channel.B: 'B'>, bank=2, dqs_nibble=6)), fixed={'CA2_A': Pos(bank=2, nibble=0, pin=0), 'CS1_A': Pos(bank = 2, nibble=0, pin=1), 'CA1_A': Pos(bank = 2, nibble=0, pin=2), 'CA0_A': Pos(bank = 2, nibble=0, pin=3), 'CS0_A': Pos(bank = 2, nibble=0, pin=4), 'CA3_A': Pos(bank = 2, nibble=0, pin=5), 'CK_T_A': Pos(bank = 2, nibble=1, pin=0), 'CK_C_A': Pos(bank = 2, nibble=1, pin=1), 'CA4_A': Pos(bank = 2, nibble=1, pin=2), 'CA5_A': Pos(bank = 2, nibble=1, pin=3), 'CKE_A': Pos(bank = 2, nibble=1, pin=4), 'CA0_B': Pos(bank = 2, nibble=2, pin=2), 'CA3_B': Pos(bank = 2, nibble=2, pin=4), 'CA2_B': Pos(bank = 2, nibble=2, pin=5), 'CK_T_B': Pos(bank = 2, nibble=3, pin=0), 'CK_C_B': Pos(bank = 2, nibble=3, pin=1), 'CA5_B': Pos(bank = 2, nibble=3, pin=2), 'CA4_B': Pos(bank = 2, nibble=3, pin=3), 'CKE_B': Pos(bank = 2, nibble=3, pin=4), 'CA1_B': Pos(bank = 2, nibble=3, pin=5), 'CS0_B': Pos(bank = 2, nibble=7, pin=1), 'CS1_B': Pos(bank = 2, nibble=4, pin=1), 'SYS_CLK_P': Pos(bank = 2, nibble=8, pin=0), 'SYS_CLK_N': Pos(bank = 2, nibble=8, pin=1), 'RESET_N': Pos(bank = 2, nibble=8, pin=2)}))[source]#
Number of distinct pin assignments the layout allows.