RAYPCB · ENGINEERING GUIDE
FPGA DDR PCB Design: Keep Controller Rules, Topology and Timing Together
FPGA DDR PCB design requires constraints for the exact controller, memory technology, device package and topology. A generic length-matching number cannot replace that combination. Data, strobes, clocks and command/address signals can have different relationships and termination arrangements.
This page organizes the review and provides a worksheet for an entered skew allowance. It does not generate universal DDR rules. Use the FPGA board review for power, configuration and bring-up tasks outside the memory interface.

Freeze the actual interface configuration
Record the FPGA or SoC family, package, speed grade, memory device, bus width and controller configuration. Preserve the generated pin assignments and constraint outputs where the vendor workflow provides them. Check that the documents refer to the intended silicon and tool versions.
An example board can illustrate an architecture, but its constraints may depend on a different package or loading. Treat copied values as unverified until their applicability is established. Keep the actual requirement source beside each constraint group.
Keep DDR constraint groups distinct
| Group | Evidence to retain |
|---|---|
| Data and strobe | Controller-specific byte-lane topology, skew scope and extracted delay. |
| Clock | Applicable differential requirements and reference continuity. |
| Command and address | Topology, loading and timing limits from the exact controller guide. |
| Package contribution | State whether pin/package delay is included before comparing routes. |
Separate the signal groups
Identify data lanes and strobes, differential clocks, command/address/control and any auxiliary signals. Record which signals must be matched within a group and which relationships are intentionally different. A single all-nets matching rule can create unnecessary meanders while missing the important relationship.
The topology matters as well. Point-to-point data and a fly-by command path do not behave identically. Preserve termination and branch locations in the physical sketch rather than reducing the interface to a list of equal-length nets.
| Review item | What to establish |
|---|---|
| Identity | Controller, memory, package and generation are exact. |
| Grouping | Data/strobe and command/clock relationships are separate. |
| Timing | Package compensation and skew scope are explicit. |
| Evidence | Models, constraints and hardware tests share one revision. |
Use delay as the electrical quantity
Package routes, PCB layers and vias can contribute different delays. Determine whether the controller's rule includes package compensation or expects the layout tool to account for it separately. Avoid adding that correction twice.
The worksheet converts an externally approved timing allowance to a length reference using an entered propagation delay. It does not derive that allowance from the transfer rate. A route through a different reference environment may need a different conversion.

Work through the skew allocation
At 3200MT/s, one unit interval is 312.5ps. If the actual design requirement allows20ps of the defined skew and extraction shows15ps, the remaining arithmetic allowance is 5ps. At an assumed6ps/mm,20ps corresponds to about 3.33mm.
Those values are a teaching case, not a DDR-family recommendation. They do not include every source of jitter or timing uncertainty. A negative remainder remains visible so an inconsistent route or requirement cannot be hidden by clipping the result to zero.
Entered DDR skew allowance
Entered DDR skew allowance
Use the current inputs and keep the assumptions
Start with the physical boundary named above the inputs. Enter your own values, or select Load example to explore the labeled teaching case. Example mode remains visible after edits so an illustrative result is not mistaken for measured project data. Clear for my inputs removes the sample values and starts a separate record.
Generate the result after completing the relevant fields. Changing an input invalidates the previous output and disables its download until you calculate again. Read the limitations next to the result: a ratio, margin or checklist does not qualify a channel, approve an EMC test or establish a supplier capability.
Download the current result if it supports your review. The text file contains inputs, outputs, assumptions and the tool version. It stays on your device; attach it manually to an enquiry if useful. No CAD or measurement file is uploaded or interpreted, and nothing is automatically inserted into the Contact form. You can ask an engineering question without completing this tool.
| Input | What to establish before using it |
|---|---|
| Review reference | Nonconfidential scope or revision. |
| Data transfers · MT/s | Transfer rate, not clock MHz; not a device support claim. |
| Approved skew allowance · ps | From exact controller/interface rules; not inferred from rate. |
| Extracted total skew · ps | Nonnegative magnitude including the agreed package/board scope. |
| Assumed propagation · ps/mm | Only used to translate time to illustrative length. |
Preserve reference continuity and impedance
Use the approved stackup and geometry for each group. Review layer transitions, plane interruptions and via structures as parts of the channel. A differential strobe is not independent of its practical reference environment.
The transmission-line guide explains the structure, while PCB impedance supports geometry planning. A nominal impedance target still needs the actual material, finished dimensions and fabrication tolerance.
Balance escape routing and assembly
Dense BGA escape can constrain via placement, layer count and capacitor access. Discuss the proposed via structure and land pattern with fabrication and assembly teams before making them fixed assumptions in the electrical model.
Length tuning should not create avoidable coupling, return-path problems or difficult fabrication details. Review the route shape and spacing as well as the reported length number. Keep approved alternatives separate from unverified substitutions.
Validate with the intended controller workflow
Run the relevant design checks and simulations using the correct I/O, package and memory models. Preserve warnings and corners rather than only a favorable summary. Training success in one prototype is useful evidence but does not cover every operating condition.
Plan memory tests that exercise the required rate, voltage, temperature and traffic behavior. Record firmware and controller settings with results. A changed drive strength or termination mode can alter the electrical basis even when the PCB is unchanged.
Prepare a reviewable release
Provide the grouped constraints, topology drawing, stackup, package assumptions and test plan. Mark the routes whose electrical behavior depends on controlled fabrication. Identify which component and construction changes need another design review.
For RAYPCB, state the fabrication or assembly question rather than asking a length worksheet to approve the interface. The downloaded summary can support that conversation, while the actual controller documentation and validated design files remain the governing inputs.
Keep device-specific rules attached to the release
Identify the exact FPGA or SoC, package, speed grade, I/O banks, memory device and interface configuration. A checklist from a different family can be a useful prompt, but is not an approved constraint file. Save the actual controller-generation and pin-planning outputs with the board revision.
Separate electrical bring-up from fabrication and assembly readiness. Bank voltages, configuration modes and timing constraints need the design team's verification; via structures, land patterns, stackup and inspection access need manufacturing discussion. Record the owner of each unresolved item so neither review is mistaken for the other.
Prepare a staged power-on plan with current limits, expected rail sequence, clocks, reset observations and debug access. Define the evidence required before connecting optional peripherals or exercising the fastest interfaces. The plan should be recoverable by another engineer using the same released files.
Turn the design decision into a controlled record. Keep the schematic and layout revision, model source, operating case and requirement together. Distinguish an entered assumption from a supplier nominal value and a measured result. If an important value is missing, record the unresolved question rather than replacing it with a convenient typical number.
Compare alternatives at a consistent boundary. Preserve the baseline and change one relevant variable when possible. If several features change together, describe the outcome as a comparison between configurations; do not assign the entire improvement to the one component you wanted to justify. Keep both favorable and unfavorable frequency regions in the evidence.
Before a repeat order, check whether substitutions affect the reasoning. A package change, alternate dielectric, shield finish or assembly operation can invalidate an earlier comparison even when the visible board outline is unchanged. Specify which changes need engineering review and which are already accepted. This makes the purchasing and manufacturing handoff useful without asking either team to reconstruct the original electrical investigation.
Standards, source context and limits
Use the applicable device documentation, interface specification and test-method edition for actual requirements. The public sources below explain particular methods; they do not certify the board on this page or replace a licensed standard. Match the document to the selected device, construction and end product before applying a numerical rule.
Numeric examples are teaching inputs unless explicitly identified otherwise. Archive photographs provide physical context, not current factory, customer-project or inspection evidence. Original drawings explain the stated model and are not production artwork, field-solver output or measured waveforms. No search ranking, compliance outcome or manufacturing limit is inferred from these illustrations.
For fabrication scope and the agreed construction requirements, see PCB manufacturing.