LPDDR4 Test Board¶
LPDDR4 Test Board is a platform developed by Antmicro for testing LPDDR4 memory. It uses Xilinx Kintex-7 FPGA (XC7K70T-FBG484) and by default includes a custom SO-DIMM module with Micron’s MT53E256M16D1 LPDDR4 DRAM.
The hardware is open and can be found on GitHub:
Test board: https://github.com/antmicro/lpddr4-test-board
IO map¶
A map of on-board connectors, status LEDs, control buttons and I/O interfaces is provided below.
Connectors:
J6
- main DC barrel jack power connector, voltage between 7-15V is supportedJ1
- USB Micro-B debug connector used for programming FPGA or Flash memoryJ4
- standard 14-pin JTAG connector used for programming FPGA or Flash memoryJ2
- HDMI connectorJ5
- Ethernet connector used for data exchange with on-board FPGAJ9
- 260-pin SO-DIMM connector for connecting LPDDR4 memoryMODE1
- configuration mode selector, short proper pins with jumper to specify programming modeJ7
- VDDQ selector used for specifying value of VDDQ voltageJ8
- optional 5V fan connectorJ3
- socket for SD card
Switches and buttons:
Power switch
S1
- swipe up to power up a device, swipe down to turn the device offFPGA programming button
PROG_B1
- push to start programming from Flash4x User button (
USR_BTN1
,USR_BTN2
,USR_BTN3
,USR_BTN4
) - buttons for user’s definition
LEDs:
Power indicators (
PWR1
,PWR2
,PWR3
,PWR4
,PWR5
,PWR6
) - indicates presence of stabilized voltages: 5V, 3V3, 1V8, 1V2, 1V1, 1V0FPGA programming INIT
D9
- indicates current FPGA configuration stateFPGA programming DONE
D8
- indicates completion of FPGA programming
Board configuration¶
First insert the LPDDR4 DRAM module into the socket J9
and make sure that jumpers are set in correct positions:
Connect power supply (7-15VDC) to J6
barrel jack.
Then connect the board’s USB-C J1
and Ethernet J5
interfaces to your computer.
Turn the board on using power switch S1
.
Then configure the network. The board’s IP address will be 192.168.100.50
(so you could e.g. use 192.168.100.2/24
). The IP_ADDRESS
environment variable can be used to modify the board’s address.
Next, generate the FPGA bitstream:
export TARGET=lpddr4_test_board
make build
The results will be located in: build/lpddr4_test_board/gateware/antmicro_lpddr4_test_board.bit
. To upload it, use:
export TARGET=lpddr4_test_board
make upload
Note
By typing make
(without build
) LiteX will generate build files without invoking Vivado.
To save bitstream in flash memory, use:
export TARGET=lpddr4_test_board
make flash
There is a JTAG/FLASH jumper MODE1
on the right side of the board.
It defines whether the bitstream will be loaded via JTAG or FLASH memory.
Bitstream will be loaded from flash memory upon device power-on or after a FPGA programming button (PROG_B1
) press.