Build log · November 2026 · placed, not yet routed

Circuit Weaver

A DDR5 memory module, from datasheets to a placed board.

We pointed Circuit Weaver at one of the densest boards in a desktop PC: a 16 GB DDR5-6000 module for a standard motherboard slot. It read the pin maps out of the datasheets, wrote and checked the schematic, and placed every part on a board the size of a real module. Here is that board, what it took, and what a module like it costs to build.

KiCad render of the placed DDR5 module
288edge pins, mapped from two datasheets
127parts, 1,181 pads, 150 nets
0schematic errors or warnings in KiCad
85/85placement rules met

The board

Tap any part on the module.

This is the placed board, drawn from the KiCad file itself at true scale: 133.35 by 31.25 mm. Pick a part to see its job and the parts that support it, or light up a net to follow it from the gold fingers to the chips.

Drawn from DDR5_16GB_UDIMM_placed_v2.kicad_pcb. Dashed lines between chips are the ratsnest: connections the router still has to make. The dashed box at the key gap is the notch the outline still needs.

KiCad render of the placed module: eight DRAM chips in a row above the gold fingers, the power chip and SPD hub at the top centre, and small capacitors around each chip.
The same board as KiCad renders it.

The pipeline

Six stages done. Routing is next.

Each stage is recorded in the project reports. Reproducing the commands requires the project files and the changes under review below.

  1. Read the datasheets

    Done

    Edge pinout, DRAM ballout, power chip and SPD hub pinouts extracted by text position from the PDFs. The 288-pin map came out of two independent documents and 286 of 288 pins matched; the other two were a typo and a line wrap. All 78 of 78 DRAM balls match KiCad's footprint.

  2. Write the spec

    Done
    python tools/gen_spec.py

    One design.yaml: eight DRAMs on two 32-bit subchannels, the power chip, the SPD hub, the edge connector and 72 passives, with every strap pin tied the way the standard requires.

  3. Validate

    Done
    circuit-weaver validate design.yaml

    Pass, with no warnings. Two notes record that the sideband bus pull-ups live on the motherboard, as the module datasheets require.

  4. Generate the schematic

    Done
    circuit-weaver generate design.yaml --output output --require-kicad

    A KiCad 10 schematic with 0 errors and 0 warnings from KiCad's own electrical rules check. Circuit Weaver adds 44 support parts of its own.

  5. Build the board

    Done
    circuit-weaver build-pcb output/DDR5_16GB_UDIMM.kicad_sch --width 133.35 --height 31.25 --copper-layers 4 --edge-margin 0.5

    A 4-layer board with 127 footprints, 1,181 pads and 150 nets. Physical design rules pass, including a rule that lets only the gold fingers reach the contact edge.

  6. Place the parts

    Done
    circuit-weaver place-pcb pcb/DDR5_16GB_UDIMM_electrical.kicad_pcb --design design.yaml --iterations 30000

    85 of 85 placement rules met with no overlaps: fingers flush on the contact edge, each DRAM over its own byte of data fingers, and every support part within its distance limit of the chip it serves.

  7. Route, simulate, tune

    Next

    Production modules use 8 to 10 layers, length-matched data bytes and a fly-by address bus, checked with signal and power integrity simulation. This is the stage that decides whether the module runs at 6000.

  8. Fabricate and test

    Later

    Hard-gold fingers, then at-speed testing and profile tuning on real AM5 and LGA1851 motherboards.

The sources

Every pin traces back to a datasheet.

A memory module has no room for a guessed pin. Each map below was extracted by position from the published PDF and checked against a second source before the spec could use it.

DataSourceCross-check
288-pin edge mapMicron 288-Pin DDR5 UDIMM Core pin table; UniIC 16 GB UDIMM datasheet, Table 4286 of 288 identical; 2 resolved as a typo and a line wrap
DRAM ballout, x8, 78 ballsMicron 16Gb DDR5 Die Rev D addendum, Fig. 5Position dump against a layout text export, all 13 rows; 78 of 78 balls match KiCad's footprint pad names
Power chip pinout, 28 pinsMicron UDIMM Core, Fig. 1Pin numbers resolved by word position
Power chip land patternRenesas package drawing FNG28D1, recommended land patternLands taken from the drawing's vector shapes and snapped to its 0.05 mm grid
SPD hub pinoutRenesas SPD5118 pinout drawingRead from the drawing
Strap rulesAMD UG863 DDR5 signal table; Micron UDIMM Core; UniIC block diagramApplied per pin in the spec
Card-edge footprintMicron UDIMM Core, Fig. 2 and Detail AGenerated by script; KiCad loads and plots it

What the module taught the tool

The module exposed ten gaps in Circuit Weaver. Here are the fixes.

A card that plugs into a slot breaks assumptions a normal board never touches: parts that must sit on the edge, footprints that live in the project, pull-ups that live on someone else's board. Each proposed fix includes tests; the status of each pull request is shown below.

Pull request #66

Merged
  • Validate and generate now load the project's own parts file instead of silently using stubs.
  • When KiCad's electrical check fails, the violations are kept in a report instead of being lost.
  • A design can declare pull-ups that another board provides, so a module is not flagged for the motherboard's job.

Pull request #67

In review
  • Designators you write yourself now win over the ones a generated part used last time, so a rebuild cannot produce duplicates.

Pull request #68

In review
  • Validation searches the project's own footprint libraries, including on machines without KiCad installed.
  • The canonical spec keeps every pin assignment.
  • Generated projects carry the design's footprints and design rules with them.
  • The board builder's edge margin is a setting, so a card edge fits.
  • A part can be declared flush with one board edge.
  • Placement keeps the designators the schematic was annotated with.

The cost

Where the money goes, and whether to make the chips.

Move the sliders. The model behind them is the project's own cost script, with every line estimated and its basis written down. Prices and other inputs are illustrative assumptions, not current quotes. Change them to explore the model.

Build quantity

The engineering cost of about $180,000 (layout, simulation, three board spins, validation and test stations) is spread across the build quantity.

$0
to build each module, all in
Margin per module
DRAM price where this run breaks even

So should you make your own chips?

A module maker designs the board around purchased memory chips. This explorer models the module; it does not estimate the cost of building a chip factory.

This model is a scenario, not a market quote or a prediction of retail prices.

What is not done

This board does not work yet.

Build your own

The same steps work for your card.

Nothing in this build is specific to memory. The parts, pin maps and placement rules are data in the project, and the tool reads them the same way for any card that plugs into a slot. Bring the datasheets; Circuit Weaver keeps every pin traceable to them and refuses to guess when one is missing.

These commands require the project files and the changes in PR #68, which is still in review.

Reproduce this board
python tools/gen_edge_footprint.py
python tools/gen_pmic_footprint.py
python tools/gen_spec.py
circuit-weaver validate design.yaml
circuit-weaver generate design.yaml --output output --require-kicad
circuit-weaver build-pcb output/DDR5_16GB_UDIMM.kicad_sch -o pcb/DDR5_16GB_UDIMM_electrical.kicad_pcb \
    --width 133.35 --height 31.25 --copper-layers 4 --edge-margin 0.5
circuit-weaver place-pcb pcb/DDR5_16GB_UDIMM_electrical.kicad_pcb -o pcb/DDR5_16GB_UDIMM_placed.kicad_pcb \
    --design design.yaml --iterations 30000
Circuit Weaver on GitHub