Skip to the content
4 layers54.8 × 45.1 mmFPGA SDRAM, the printed circuit board in 3D

A compact 4-layer FPGA development board based on the Lattice LFE5U-25F-6BG256C, designed to explore high-speed PCB design, FPGA hardware, memory interfaces, and signal integrity practices.

Size
54.8 × 45.1 mm
Copper layers
4
Thickness
1.64 mm
Parts
126
Nets
305
Pads
795
Tracks, vias
1,273, 218
Pours
4
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
28 Jun 2026
Updated
28 Jun 2026

Overview

FPGA SDRAM is an open-source printed circuit board by Rahul9-spb, from the Rahul9-spb/FPGA-1 repository on GitHub. It is a 4-layer board of 54.8 × 45.1 mm with 126 parts on 305 nets, routed with 1,273 tracks and 218 vias.

It is built around the LFE5U-25F-6BG256C, W25Q128JVSIQ and TPD4E05U06DQAR, with the USBLC6-2SC6 and SG-8002CA-PCB among its other parts. Its parts include 57 capacitors, 47 resistors, 8 ICs, 3 connectors and 3 inductors. It belongs with the fPGA and programmable logic boards and the FPGA and CPLD boards of this library.

Main components

5

README

README.md

FPGA HDMI Development Board

A compact 4-layer FPGA development board based on the Lattice LFE5U-25F-6BG256C, designed to explore high-speed PCB design, FPGA hardware, memory interfaces, and signal integrity practices.

Project Status: Design Completed | Unfabricated | Fabrication Planned


Features

  • Lattice LFE5U-25F-6BG256C FPGA
  • 64 Mb SDRAM
  • HDMI Output
  • QSPI Flash
  • USB-to-UART Programming Interface
  • JTAG Header
  • External Clock Oscillator
  • Multi-voltage Power Distribution

PCB Specifications

ParameterValue
PCB Layers4
Board Dimensions45x55mm
PCB Thickness1.64mm
Copper Weight1oz
Manufacturer---

PCB Stack-up

LayerFunction
L1High-Speed Signals & Component Placement
L2Continuous Ground Plane
L3Power Distribution (Split Power Islands)
L4Signals + Ground Copper

FPGA

Part Number

LFE5U-25F-6BG256C

Package

BGA-256

Core Voltage

1.1V

I/O Voltages

  • 3.3V

High-Speed Interfaces

HDMI

  • Controlled Differential Impedance
  • Differential Pair Routing
  • Length Matching
  • ESD Protection
  • TMDS Routing Considerations

Design Parameters

ParameterValue
Target Differential Impedance100Ω
Trace Width0.16mm
Trace Gap0.2mm
Copper Thickness1oz
Reference PlaneL2

SDRAM

Memory Device


Routing Considerations

  • Address Bus Routing
  • Data Bus Routing
  • Clock Routing
  • Length Matching
  • Escape Routing
  • Fan-out Optimization

QSPI Flash

  • High-speed SPI Routing
  • Short Signal Paths
  • Proper Decoupling

Power Distribution

Multiple supply rails are implemented on a single internal power layer using separated copper islands.

Power Rails

  • 5 V
  • 3.3 V
  • 2.5 V
  • 1.1 V

Design Trade-off

Using a dedicated power plane for four independent voltage rails required splitting Layer 3 into multiple power islands.

Priority was given to:

  • Maintaining short current return paths
  • Reducing voltage drop
  • Preserving signal integrity

rather than achieving visually symmetric polygon shapes.


Placement Strategy

Component placement was driven primarily by signal integrity requirements.

Major considerations included:

  • FPGA placed centrally to minimize average routing distance.
  • SDRAM positioned adjacent to the FPGA to reduce memory bus length.
  • HDMI connector placed close to FPGA TMDS outputs.
  • USB-UART located near USB-C connector.
  • Decoupling capacitors placed as close as possible to FPGA power pins.
  • Clock source positioned close to FPGA clock input.
  • Flash memory placed near FPGA configuration pins.

Routing Strategy

General signals

  • 0.2007mm Trace Width

Power

  • 0.3-0.5mm width

Fine fan-out

  • 0.16mm trace width

Differential pairs

  • Controlled geometry
  • Constant spacing
  • Constant width
  • Minimal vias
  • Length matched

Design Constraints

PCB Rules

Minimum Trace Width 0.1mm

Minimum Clearance 0.1mm


Minimum Via

Hole : 0.1mm

Pad : 0.25mm


FPGA Escape Routing

One of the primary design challenges was routing multiple FPGA BGA rows while maintaining clean escape paths.

Design considerations included:

  • Escape routing strategy
  • Via placement optimization
  • Fine-pitch fan-out
  • Routing density
  • Layer transition management

Signal Integrity

Considerations included:

  • Controlled impedance routing
  • Continuous return paths
  • Differential pair matching
  • Minimized stubs
  • Reduced via transitions
  • Proper reference planes
  • Clock routing optimization

Power Integrity

Design considerations

  • Local decoupling
  • Bulk decoupling
  • Power island separation
  • Current distribution
  • Low impedance return paths

ESD Protection

External high-speed interfaces include ESD protection devices placed close to connectors.

Protected Interfaces

  • HDMI
  • USB

Design Challenges

Some of the major challenges during this project included:

  • Routing HDMI differential pairs while maintaining impedance.
  • FPGA BGA escape routing.
  • Routing the SDRAM memory interface.
  • Creating four separate power islands on a single power layer.
  • Maintaining signal integrity within a compact layout.
  • Optimizing placement without sacrificing routing quality.

Future Improvements

  • PCB fabrication
  • Assembly
  • Bring-up
  • FPGA programming
  • SDRAM validation
  • HDMI output testing
  • Signal integrity measurements
  • Power integrity measurements
  • Revision B improvements

Repository Contents

text
PCB/
│── FPGA_SDRAM.kicad_pcb
│── FPGA_SDRAM.kicad_pro

Gerbers/
│── gerbers.zip
│── gerbers/

Schematics/
│── FPGA_SDRAM.kicad_sch

Images/
│── 3D_Model/
│── PCB_Images/

README.md

License

MIT License


Acknowledgements

This project was completed as a personal learning project to gain practical experience in FPGA hardware design, high-speed PCB layout, signal integrity, and power integrity.

"Designed during sophomore year as a self-directed learning project. First BGA package, first 4-layer board, first FPGA design."

Feedback and suggestions are always welcome

Parts

126
QtyValueFootprintReferences
15100nCapacitor_SMD:C_0201_0603MetricC4, C5, C6, C7, C8, C9, C11, C12, C13, C15, C19, C21, C23, C25, C51
13100nCapacitor_SMD:C_0402_1005MetricC31, C47, C49, C50, C52, C53, C54, C55, C56, C57, C58, C60, C62
1010kResistor_SMD:R_0402_1005MetricR4, R12, R17, R19, R31, R36, R44, R45, R48, R49
622uCapacitor_SMD:C_0603_1608MetricC35, C36, C40, C41, C45, C46
510kResistor_SMD:R_0201_0603MetricR20, R21, R22, R23, R24
510uCapacitor_SMD:C_0201_0603MetricC1, C14, C22, C24, C26
522RResistor_SMD:R_0201_0603MetricR18, R41, R42, R43, R51
54k7Resistor_SMD:R_0402_1005MetricR32, R33, R34, R46, R47
30RResistor_SMD:R_0402_1005MetricR6, R10, R14
310kResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR2, R5, R8
310uCapacitor_SMD:C_0603_1608MetricC28, C29, C30
322RResistor_SMD:R_0402_1005MetricR29, R30, R35
347nCapacitor_SMD:C_0201_0603MetricC34, C39, C44
34k7Inductor_SMD:L_0603_1608MetricL2, L3, L4
210nCapacitor_SMD:C_0402_1005MetricC33, C38
222RResistor_SMD:R_Array_Convex_4x0402RN1, RN2
25k1Resistor_SMD:R_0402_1005MetricR25, R26
2TPD4E05U06DQARcustom:DQA0010A_ESDPU7, U8
1100nResistor_SMD:R_0402_1005MetricC63
110nCapacitor_SMD:C_0603_1608MetricC43
110uResistor_SMD:R_0201_0603MetricC10
110uResistor_SMD:R_0603_1608MetricC59
110uCapacitor_SMD:C_0805_2012MetricC48
11n5Capacitor_SMD:C_0201_0603MetricC32
11n8Capacitor_SMD:C_0201_0603MetricC37
11uCapacitor_SMD:C_0603_1608MetricC27
11uCapacitor_SMD:C_0402_1005MetricC61
122RResistor_SMD:R_Array_Convex_2x0402RN3
122k1Resistor_SMD:R_0603_1608MetricR27
124k9Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR3
124k9Resistor_SMD:R_0402_1005MetricR1
12k2Resistor_SMD:R_0402_1005MetricR13
131k6Resistor_SMD:R_0402_1005MetricR11
13k2Resistor_SMD:R_0402_1005MetricR50
13n3Capacitor_SMD:C_0201_0603MetricC42
145k3Resistor_SMD:R_0402_1005MetricR7
147k5Resistor_SMD:R_0603_1608MetricR28
16k8Resistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR9
18k25Resistor_SMD:R_0402_1005MetricR15
19k88Resistor_SMD:R_0402_1005MetricR16
1CP2102N-Axx-xQFN28Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mmU4
1FerriteBeadInductor_SMD:L_0603_1608MetricFB2
1FerriteBeadInductor_SMD:L_0201_0603MetricFB1
1HDMI_AConnector_Video:HDMI_A_Amphenol_10029449-x01xLF_HorizontalJ3
1IS42S16400J-xCPackage_SO:TSOP-II-54_22.2x10.16mm_P0.8mmU2
1LFE5U-25F-6BG256Ccustom:BGA256C80P16X16_1400X1400X170U1
1LOGOLOGOG***
1PolyfuseFuse:Fuse_0402_1005MetricF1
1SG-8002CAOscillator:Oscillator_SMD_SeikoEpson_SG8002CA-4Pin_7.0x5.0mmY1
1TPS65261RHBRcustom:TPS65261RHBRU5
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U6
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_HorizontalJ2
1W25Q128JVSPackage_SO:SOIC-8_5.3x5.3mm_P1.27mmU3
1conConnector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_VerticalJ1

Similar boards

  • 4 layers431.5 × 125.5 mmClavier, the printed circuit board in 3D

    Clavier

    lsartory/Clavier

    An FPGA-based mechanical keyboard with an integrated USB hub and communication interfaces

    344 parts212
  • 6 layers90 × 90 mmClock odial, the printed circuit board in 3D

    Clock odial

    JulienKluge/Clock-odial

    Clock-odial is a PCB featuring a ECP5 fpga for frequency/clock signal processing

    370 partsMIT
  • 2 layers34.2 × 63.7 mmGb link usb, the printed circuit board in 3D

    Gb link usb

    hazy2go/gb-link-usb

    Game Boy (DMG) link port to USB-C PC adapter: printer emulation, PC link, online link play. Sister project of the WiFi Game Boy cart.

    59 parts2
  • 4 layersDial me spinner main, the printed circuit board in 3D

    Dial me spinner main

    tyevco/dial-me-spinner

    A Bluetooth dial spinner about 70 mm across, built on the nRF52840. A heavy, balanced stainless flywheel ring spins around a stationary centre that holds a colour OLED and a ring of 48 addressable RGB LEDs.

    209 parts
  • 4 layers174 × 104 mmTd deflect, the printed circuit board in 3D

    Td deflect

    tdaede/td-crt

    tubes

    175 parts373
  • 4 layers99 × 91.7 mmEPSM Famicom, the printed circuit board in 3D

    EPSM Famicom

    Perkka2/EPSM

    NES Expansion Port Sound Generator

    60 parts76
  • 2 layers86.5 × 42 mmFinal pcb, the printed circuit board in 3D

    Final pcb

    aguscsc/Bidirectional-Buck-DC-DC-converter

    This repository contains the development steps for the making of a Bidirectional Buck DC-DC converter

    42 parts5MIT

Questions

How big is the FPGA SDRAM PCB?

It measures 54.8 × 45.1 mm and has 4 copper layers, 1.64 mm thick.

What parts does the FPGA SDRAM use?

126 parts, built around the LFE5U-25F-6BG256C, W25Q128JVSIQ, TPD4E05U06DQAR and USBLC6-2SC6. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the FPGA SDRAM KiCad files?

From the Rahul9-spb/FPGA-1 repository on GitHub, at the commit this page was made from: the board is PCB/FPGA_SDRAM.kicad_pcb and its schematic Schematics/FPGA_SDRAM.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the FPGA SDRAM design in my own project?

Its repository states no licence, so its author keeps all rights: ask Rahul9-spb before reusing the design.