Skip to content

backplane — KiCad (ROUTED)

The P8X backplane (the passive bus motherboard) as a KiCad 4-layer board, generated by generators/gen_backplane.py from the bps/bpn structure in gen_eagle.py: eight DIN41612 female vertical sockets in one row, power entry, bulk + per-slot decoupling caps, the wired-OR pull-ups, GND (In1) and VCC (In2) planes, and the full parallel-bus netlist.

Status: placed + routed + verified (PASS). 262 × 128 mm, 8 slots on a 28 mm pitch, left-justified; power/pull-up/termination parts on the right. Routed with Freerouting and checked by generators/check_card.sh (0 blocking DRC, 0 unconnected, keepout + fab clean).

Two design choices made the dense parallel bus routable (see the git history and gen_backplane.py comments for the full story):

  • 8 slots, not 10. Every inter-slot channel carries all ~96 bus nets, so slot count is not the main routing lever — but two fewer hops per net helps, and 8 slots is ample for the active cards (control, regbank, ALU, memory, peripheral,
  • headroom). NSLOT lives in gen_eagle.py.
  • 0.13 mm clearance (≈5 mil, a standard fab tier) on the backplane only, set on the default netclass. This is the real lever: at 0.2 mm the router left 11–18 hops unrouted, 0.15 mm got it to 1–2, 0.13 mm routes the whole bus. The bus track stays 0.2 mm; only the spacing tightens. The rule ships in p8x-backplane.kicad_pro, which must stay committed beside the board so DRC and the fab see 0.13 mm.
  • CLK and CLKB in their own CLOCK net class, 0.35 mm clearance (2026-10-21), so no bus net runs close beside the clocks: the worst clock neighbour went from CIN at 0.44 mm centre-to-centre (75 mm alongside CLKB, the pipeline latch clock) to 1.23 mm. The ceiling is the DIN pin field: 1.55 mm pads on 2.54 mm pitch leave 0.99 mm, so a 0.2 mm track threading two pins has 0.395 mm per side. Above that the clocks cannot pass between pins and detour round the connector ends (at 0.5 mm both nearly doubled in length). Also in the .kicad_pro.
  • The route retries. A clock track takes a whole pin-row gap to itself, so the route got tighter, and Freerouting's result depends on the order KiCad writes the DSN, which changes on every placement run. build.sh re-runs placement → DSN → route (up to ROUTE_TRIES, default 6) until the board has 0 unconnected AND neither clock exceeds CLOCK_MAX_MM (300 mm, against the ≈ 230 mm daisy chain). Re-routing the same DSN does not help — it reproduces the same miss.

Mounting holes use nylon screws (or none): the DIN mounting-hole copper keepout is 2.0 mm here (just clears the 2.85 mm hole), not the 4.0 mm metal-screw ring the plug-in cards use — the bus is too dense for 4 mm rings.

GENERATORS ARE CANON — edit gen_backplane.py / gen_eagle.py and re-run generators/build.sh backplane.

File What
p8x-backplane.kicad_pcb the board
p8x-backplane.kicad_pro project + design rules (0.13 mm clearance; CLOCK class 0.35 mm) — keep committed
p8x-backplane.ses the Freerouting routing
p8x-backplane-gerbers.zip orderable gerbers
p8x-backplane-placement.pdf parts placement
p8x-backplane-render-top.png / -3d.png renders

Bulk caps / power entry use the closest standard KiCad footprints (power entry = Phoenix Contact MSTBA 2,5/2-G-5,08, Digikey 1729128).

Last updated 21 October 2026