Skip to the content
4 layers125 × 95 mmPrerouted, the printed circuit board in 3D

Tests of KiCad-related AI tools.

Size
125 × 95 mm
Copper layers
4
Thickness
1.6 mm
Parts
179
Nets
224
Pads
800
Tracks, vias
238, 247
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
29 Sep 2026
Updated
17 Oct 2026

Overview

Prerouted is an open-source printed circuit board by devbisme, from the devbisme/ai-circuit-design-tests repository on GitHub. It is a 4-layer board of 125 × 95 mm with 179 parts on 224 nets, routed with 238 tracks and 247 vias.

It is built around the ICE40HX4K-TQ144, THS4521ID and FT232HL-REEL, with the LTC2290CUP#PBF, OPA1656ID and W25Q32JVSSIQ among its other parts. Its parts include 93 capacitors, 46 resistors, 14 ICs, 5 diodes and 4 connectors. It belongs with the FPGA and CPLD boards of this library.

Main components

12

README

konnect-tests/dual-adc-usb-2/README.md

Dual-channel 12-bit 10 MSPS USB digitizer — dual_adc_usb

KiCad 10 project built with Konnect MCP tools. The work so far covers the schematic only; the PCB has not been laid out yet (see "Status").

Requirements trace

RequirementHow it is met
2 channels, ±10 V inputTwo identical AFE sheets (afe_a, afe_b): 1.003 MΩ compensated ÷20 divider → ADA4817 FET buffer → THS4521 FDA. ±10 V gives ±0.951 V differential at the ADC, which is 95% of its ±1 V full scale.
10 MSPS, 12 bitLTC2290 is a dual, simultaneous-sampling 12-bit ADC rated at 10 MSPS. It is clocked by a 10 MHz SiT8008 MEMS oscillator with about 1 ps rms jitter.
≥0.1 s at max rateOne sample pair is 2 × 12 bit, stored in 32 bits. 10 M pairs/s × 0.1 s × 4 B = 4 MB. The W9812G6KH SDRAM holds 16 MB, which is about 0.4 s.
Scope-lead connectorsBNC inputs with 1 MΩ ‖ ~12 pF. C103/C203 trimmers set probe compensation.
USB 2.0, power + dataFT2232H high-speed USB, bus powered, USB-B receptacle.
USB-C if power insufficientNot needed. Estimated draw is ~370 mA against the 500 mA limit (see the power budget below).

Design decisions (options → choice)

  1. Data path / buffering
    • (a) FPGA + SDRAM + FT2232H sync FIFO ← chosen. It gives a guaranteed 0.1 s capture whatever the host latency, and all parts are hand-solderable (TQFP/TSOP).
    • (b) Stream directly to the host through FT232H. 30–40 MB/s is needed against ~35–40 MB/s available, so there is no margin and host hiccups drop samples.
    • (c) MCU with HS USB + SDRAM (i.MX RT / STM32H7 + ULPI PHY). This means more firmware complexity, and capturing a 20 MHz parallel bus with an MCU is awkward.
    • (d) FT601 USB 3. This violates the "USB 2.0" requirement.
  2. ADC: LTC2290 (dual, 10 MSPS, 3 V, in the KiCad library) ← chosen. LTC2291/2292 (25/40 MSPS) are pin-compatible fallbacks if you want rate margin. A pair of single ADCs would need more parts and give worse channel matching.
  3. FPGA: iCE40HX4K-TQ144 ← chosen. It has 107 I/O (91 used), an open toolchain (yosys/nextpnr/iceprog), and a TQFP package. ECP5 is overkill and BGA. A MachXO2 would also work, but its library symbol is not available.
  4. Capture memory: SDR SDRAM 16 MB ← chosen, because it is cheap and has 4× margin. 4 MB async SRAM needs no refresh but costs more for the same pin count.
  5. USB bridge: FT2232H ← chosen. Channel A runs sync FIFO for data; channel B runs MPSSE so the board's SPI flash can be programmed over the same cable. FT232H has one channel, so there is no in-system programming path. The FX2LP needs its own firmware.
  6. USB connector: USB-B ← chosen: robust for a bench instrument, and the power budget fits USB 2.0. Micro-B and USB-C (as USB 2.0 + 5.1 k CC) were the alternatives.
  7. Analog supplies: LM27762 for ±3.97 V (single chip, low noise) ← chosen. The alternatives were TPS65131 (inductive and noisier) or a ±5 V isolated module (overkill).
  8. Front-end topology: ÷20 divider + FET buffer + FDA ← chosen. A ÷10 divider would need a larger buffer input common-mode range than the ±4 V rails allow. A direct FDA input cannot present 1 MΩ to a probe.

Power budget (estimate, from 5 V VBUS)

RailLoadFrom 5 V
+3V3 (buck, ~85 %)FT2232H ~70 mA, SDRAM ~90 mA, FPGA I/O ~30 mA, 1V2 core ~30 mA, misc ~10 mA ≈ 230 mA~180 mA
+3V0 (LDO)LTC2290 ~40 mA + oscillator ~5 mA~45 mA
±4 V (LM27762)2× ADA4817 ~19 mA each + 2× THS4521 ~1.2 mA~125 mA
Total~350–380 mA

The +3V0 and ±4 V rails are gated by FT2232H PWREN# through Q401. Before enumeration the board draws roughly 70–90 mA, under the 100 mA unconfigured limit. The board has about 8 µF on VBUS, under the 10 µF USB limit.

FPGA pin allocation

  • Bank 3 (left): ADC channel A data on DA0–11 → pins 1–16, OFA/OFB on 17/18, channel B data on DB0–11 → 19–34. CLK_10M goes to pin 21 (GBIN6).
  • Bank 0 (top): FT2232H FIFO D0–7 on 110–118 and control on 119–125. FT_CLK goes to pin 129 (GBIN0). SDRAM control is on 135–144, and SD_CLK leaves pin 143 through a 33 Ω resistor.
  • Bank 1 (right): SDRAM DQ0–15, A0–A11 and BA0.
  • Bank 2 (bottom): LED0/1, expansion header J601 (TRIG_IN on GBIN5 plus GPIO0–5), and the SPI config pins.

Verification done

  • kicad-cli ERC: 0 errors. There are two warnings, both intentional: W25Q32 WP#/HOLD# are tied directly to +3V3, which carries a PWR_FLAG. There are also 201 lib_symbol_issues warnings. These come from the environment, not the design: the global KiCad 10 sym-lib-table points at a stale AppImage mount path, and the symbols embedded in the schematic are complete.
  • Netlist: 170 components, 214 nets, no single-node nets, no duplicate references. All key nets were spot-checked (ADC→FPGA, FPGA↔SDRAM, FIFO, SPI config, VCM, PWREN).
  • All 170 footprints exist in the KiCad 10 footprint libraries.

Open items / uncertainties (verify before fab)

  • LM27762: I am not certain of the FB− divider topology and reference polarity, or of the recommended CP and flying-cap values. They are set as 115 k/49.9 k, 1 µF and 4.7 µF; check them against the TI datasheet.
  • ADA4817 input CM range needs about 2.8 V of headroom to +Vs. ±0.5 V at the buffer input on ±3.97 V rails should be fine, but confirm it. The exposed pad is tied to VEE; confirm that is allowed.
  • BAV199DW: the KiCad symbol's pin names look inconsistent with its pin numbers. Confirm that the pin 1 / 6 / 2 series pair matches the Diodes Inc. datasheet.
  • LTC2290 MODE is set to 2/3·VDD (two's complement, duty-cycle stabilizer on), and SENSE=VDD gives a 2 Vpp range. Confirm against the datasheet table.
  • FT2232H: channel B MPSSE can only be used while channel A is not in sync-FIFO mode. This has not been verified on hardware.
  • Anti-alias filtering is only two poles (~7 MHz) and is not a brick-wall filter. Content above 5 MHz will alias, so a higher-order filter is an option if the application needs it.
  • Cosmetic: some labels overlap on the FPGA sheet (R602–R604 pull-up labels) and on the USB connector pins.

Status / next steps

  1. PCB layout: done as a candidate board. dual_adc_usb_routed.kicad_pcb (+ its own .kicad_pro) is 140 × 90 mm and 4 layers: F.Cu signal / In1 GND plane / In2 +3V3 plane / B.Cu signal. It is 100 % routed, and kicad-cli DRC reports 0 errors and 0 unconnected. Rules: 0.15 mm clearance and minimum track; 0.2 mm default tracks; 0.4 mm on the Power netclass; 0.6/0.3 mm vias. The original dual_adc_usb.kicad_pcb is still the placed-but-unrouted 2-layer board; the candidate also includes ~20 small decap moves. Routing scripts and the final SES are in routing/. Autorouted, so not yet reviewed for analog/SI quality (see below). PCB review items (autorouter output, not yet hand-tuned):
    • USB D+/D− were not routed as a controlled-impedance differential pair. They are short (~20 mm), but should be re-routed as a 90 Ω pair.
    • Some ±4 V, +3V0 and VCM routes take long detours, and a few digital traces cross the analog section. Re-route the AFE and ADC area by hand.
    • The 10 MHz ADC clock (OSC_OUT/ADC_CLK) should be short and kept away from data lines. Check it.
    • No outer-layer GND pours or stitching yet. Consider B.Cu GND fill under the AFE.
    • About 170 silkscreen warnings (overlaps, silk over copper and near the board edge) and 170 lib_footprint_mismatch warnings. The mismatch warnings come from the stale global footprint library table.
  2. FPGA gateware: ADC capture → SDRAM controller → FT245 sync FIFO readout. Bitstream programming through iceprog -I B.
  3. Host software (libftdi / pyftdi): arm, capture, read back.

Parts

179
QtyValueFootprintReferences
49100nFCapacitor_SMD:C_0603_1608MetricC15, C19, C20, C21, C22, C23, C24, C26, C27, C28, C29, C30, C36, C37, C44, C45 +33
131kResistor_SMD:R_0603_1608MetricR6, R17, R18, R19, R20, R21, R26, R27, R28, R29, R30, R45, R46
1210kResistor_SMD:R_0603_1608MetricR1, R9, R10, R12, R13, R14, R33, R40, R41, R42, R43, R44
910uFCapacitor_SMD:C_0805_2012MetricC3, C5, C8, C61, C69, C80, C81, C83, C93
91uFCapacitor_SMD:C_0603_1608MetricC2, C4, C6, C7, C10, C49, C50, C54, C55
72.2uFCapacitor_SMD:C_0805_2012MetricC9, C12, C13, C48, C51, C53, C56
733Resistor_SMD:R_Array_Convex_4x0603RN1, RN2, RN3, RN4, RN5, RN6, RN7
433pFCapacitor_SMD:C_0603_1608MetricC34, C35, C42, C43
44.7uFCapacitor_SMD:C_0805_2012MetricC1, C11, C18, C25
449.9Resistor_SMD:R_0603_1608MetricR22, R23, R31, R32
4MountingHoleMountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
333Resistor_SMD:R_0603_1608MetricR35, R36, R37
2100Resistor_SMD:R_0603_1608MetricR38, R39
2100kResistor_SMD:R_0603_1608MetricR3, R5
2100pFCapacitor_SMD:C_0603_1608MetricC38, C46
212pFCapacitor_SMD:C_0603_1608MetricC31, C39
22.7pFCapacitor_SMD:C_0603_1608MetricC32, C40
222pFCapacitor_SMD:C_0603_1608MetricC33, C41
227pFCapacitor_SMD:C_0603_1608MetricC16, C17
2600R@100MHzInductor_SMD:L_0603_1608MetricFB2, FB3
290.9kResistor_SMD:R_0603_1608MetricR16, R25
2909kResistor_SMD:R_0603_1608MetricR15, R24
2BAV99Package_TO_SOT_SMD:SOT-23D2, D3
2THS4521IDPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU9, U10
2YellowLED_SMD:LED_0603_1608MetricD4, D5
1120R@100MHz 2AInductor_SMD:L_0603_1608MetricFB1
112MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
112kResistor_SMD:R_0603_1608MetricR8
11MResistor_SMD:R_0603_1608MetricR7
12.2kResistor_SMD:R_0603_1608MetricR11
120kResistor_SMD:R_0603_1608MetricR34
1226kResistor_SMD:R_0603_1608MetricR4
1232kResistor_SMD:R_0603_1608MetricR2
14.7nFCapacitor_SMD:C_0603_1608MetricC14
1750mAFuse:Fuse_1206_3216MetricF1
193LC56BPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU7
1AP2112K-1.2Package_TO_SOT_SMD:SOT-23-5U2
1AP2112K-3.3Package_TO_SOT_SMD:SOT-23-5U1
1ASE-10.000MHzOscillator:Oscillator_SMD_Abracon_ASE-4Pin_3.2x2.5mmX1
1BNC_AConnector_Coaxial:BNC_Amphenol_B6252HB-NPP3G-50_HorizontalJ2
1BNC_BConnector_Coaxial:BNC_Amphenol_B6252HB-NPP3G-50_HorizontalJ3
1FT232HLPackage_QFP:LQFP-48_7x7mm_P0.5mmU6
1GreenLED_SMD:LED_0603_1608MetricD1
1ICE40HX4K-TQ144Package_QFP:TQFP-144_20x20mm_P0.5mmU12
1LM27762Package_SON:WSON-12-1EP_3x2mm_P0.5mm_EP1x2.65U4
1LP5907MFX-3.3Package_TO_SOT_SMD:SOT-23-5U3
1LTC2290CUPPackage_DFN_QFN:QFN-64-1EP_9x9mm_P0.5mm_EP7.15x7.15mmU11
1MT48LC16M16A2TG-6APackage_SO:TSOP-II-54_22.2x10.16mm_P0.8mmU14
1OPA1656IDPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU8
1PROGConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ4
1USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U5
1USB_BConnector_USB:USB_B_OST_USB-B1HSxx_HorizontalJ1
1W25Q32JVSSPackage_SO:SOIC-8_5.3x5.3mm_P1.27mmU13

More from devbisme/ai-circuit-design-tests

9
  • 4 layers100 × 80 mmBuilt, the printed circuit board in 3D

    Built

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    243 parts10
  • 4 layers130 × 90 mmDual adc usb, the printed circuit board in 3D

    Dual adc usb

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    197 parts10
  • 4 layers150 × 90 mmDual adc usb, the printed circuit board in 3D

    Dual adc usb

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    186 parts10
  • 4 layers140 × 95 mmDual adc, the printed circuit board in 3D

    Dual adc

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    186 parts10
  • 4 layers120 × 69 mmDual adc usb, the printed circuit board in 3D

    Dual adc usb

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    184 parts10
  • 4 layers128 × 85 mmPre ses, the printed circuit board in 3D

    Pre ses

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    182 parts10
  • 4 layers115 × 85 mmDual adc usb, the printed circuit board in 3D

    Dual adc usb

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    175 parts10
  • 2 layers140 × 90 mmDual adc usb v1, the printed circuit board in 3D

    Dual adc usb v1

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    174 parts10
  • 4 layers120 × 88 mmDual adc, the printed circuit board in 3D

    Dual adc

    devbisme/ai-circuit-design-tests

    Tests of KiCad-related AI tools.

    163 parts10

Similar boards

  • 4 layers100 × 100 mmRpi pico kit, the printed circuit board in 3D

    Rpi pico kit

    999matej999/pico-kit-pcb

    198 parts1GPL-3.0
  • 2 layers119.4 × 119.4 mmEsp32-pool controller, the printed circuit board in 3D

    Esp32-pool controller

    niko34/esp32-pool-controller

    Contrôleur automatique de piscine ESP32 avec gestion pH, ORP, température, filtration, éclairage, app web locale, MQTT (HomeAssistant auto-discovery), API

    93 partsMIT
  • 6 layers145 × 355 mmBackplane, the printed circuit board in 3D

    Backplane

    stockmann-lab/shim_amp_hardware_linear

    Hardware related to open-source shim amplifier development for MRI research

    529 parts2
  • 2 layers100 × 100 mmOpen65, the printed circuit board in 3D

    Open65

    Maverick-Shark/X65_BigMiST

    The X65 is an ultimate computer for everyone interested in the venerable 65-series of 8-bit and 16-bit CPUs, i.e. the 6502 and 65816.

    195 partsMIT
  • 4 layers95 × 67 mmLoRaDongle iCE40, the printed circuit board in 3D

    LoRaDongle iCE40

    marrrk/LoRaDongle

    A Risc-V Based LoRa custom PCB

    145 parts4
  • 4 layers36.8 × 24.1 mmRpi breakout, the printed circuit board in 3D

    Rpi breakout

    LastZactionHero/rpi_breakout

    40 parts
  • 4 layers36 × 77 mmUprobe-0.1, the printed circuit board in 3D

    Uprobe-0.1

    xx0x/uprobe

    uconsole debug probe

    108 parts
  • 2 layers51 × 21 mmBench rp2040 usb hid 5eab0a5d, the printed circuit board in 3D

    Bench rp2040 usb hid 5eab0a5d

    mrcha033/hw-codesign

    Agentic hardware co-design: brief to KiCad, firmware, 3D review, and explicit fabrication blockers.

    15 parts2Apache-2.0

Questions

How big is the Prerouted PCB?

It measures 125 × 95 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Prerouted use?

179 parts, built around the ICE40HX4K-TQ144, THS4521ID, FT232HL-REEL and LTC2290CUP#PBF. 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 Prerouted KiCad files?

From the devbisme/ai-circuit-design-tests repository on GitHub, at the commit this page was made from: the board is eda-agent-tests/dual-adc-usb-2/route/prerouted.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Prerouted design in my own project?

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