

Prerouted
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
12ICE40HX4K-TQ144
TQFP-144(20x20)-40℃~+100℃ 1.14V~1.26V 107 3520 440 81920bit iCE40 HX TQFP-144(20x20) Programmable Logic Device (CPLDs/FPGAs) ROHSLatticeProgrammable Logic Device (CPLDs/FPGAs)THS4521ID
SOIC-8-2.75V~-1.25V、1.25V~2.75V -40℃~+85℃ 1 1.14mA 100dB 100dB 13ns 2.5V~5.5V 200uV 215nA 2uV/℃ 4.6nV/√Hz@100kHz 490V/us 5.5V 55mA 600pA/℃ 700nA 95MHz Differential Enable/shutdown function、Single-ended to differential conversion、Integrated ADC driver、Adjustable output common-mode voltage Rail-to-Rail Input, Rail-to-Rail Output SOIC-8 Differential Amplifiers ROHSTexas InstrumentsDifferential AmplifiersFT232HL-REEL
LQFP-48(7x7)-40℃~+85℃ 1 1.62V~1.98V、2.97V~3.63V 480Mbps USB 2.0 USB to UART、USB to FIFO LQFP-48(7x7) USB Converters ROHSFTDIUSB ConvertersLTC2290CUP#PBF
QFN-64-EP(9x9)0.3LSB 0℃~+70℃ 10MHz 12 1MHz~10MHz 2 2.7V~3.4V 25ppm/℃ 40mA 71.3dB Built-in Parallel port Yes QFN-64-EP(9x9) Analog to Digital Converters (ADC) ROHSAnalog DevicesAnalog To Digital Converters (ADC)OPA1656ID
SOIC-8-18V~-2.25V、2.25V~18V -40℃~+125℃ 100mA 120dB 1mV 2 20pA 20pA 24V/us 2uV/℃ 3.9mA 4.3nV/√Hz@1kHz 4.5V~36V 53MHz Rail-to-rail output SOIC-8 FET Input Amplifiers ROHSTexas InstrumentsAudio AmplifiersW25Q32JVSSIQ
SOIC-8-208mil-40℃~+85℃ 100,000 cycles 133MHz 1uA 2.7V~3.6V 20 Years 32Mbit 3ms SPI SOIC-8-208mil NOR FLASH ROHSWinbondNOR FLASH93LC56BT-I/SN
SOIC-8-40℃~+85℃ 1,000,000 cycles 2.5V~5.5V 200 Years 2Kbit 2ms 3MHz Built-in write enable latch (WEL)、Power-down/Power-up protection circuit SPI SOIC-8 EEPROM ROHSMicrochip TechnologyEEPROMAP2112K-1.2TRG1
SOT-25-40℃~+85℃@(Ta) 1 1.2V 250mV@(600mA) 50uVrms 55uA 600mA 65dB@(1kHz) 6V Fixed Over Current Protection、Over Temperature Protection、Enable Positive SOT-25 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSDiodes IncorporatedVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsAP2112K-3.3TRG1
SOT-25-5-40℃~+85℃@(Ta) 1 250mV@(600mA) 3.3V 50uVrms 55uA 600mA 65dB@(1kHz) 6V Fixed Over Current Protection、Thermal Shutdown、Enable control Positive SOT-25-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSDiodes IncorporatedVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsLM27762DSS
WSON-12-EP(2x3)-40℃~+85℃ -5V~-1.5V、1.5V~5V 2.5Ω 2.7V~5.5V 250mA 2MHz 390uA Inverted Support WSON-12-EP(2x3) Charge Pumps ROHSTexas InstrumentsCharge PumpsLP5907MFX-3.3/NOPB(MS)
SOT-23-5-40℃~+125℃@(Tj) 1 180mV@(300mA) 2uA 3.3V 300mA 5.5V Fixed Over Current Protection、Over Temperature Protection、Enable Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSMSKSEMIVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsMT48LC16M16A2P-6A:G
TSOP-54-400mil0℃~+70℃ 100mA 167MHz 2.5mA 256Mbit 3V~3.6V High-speed clock synchronization、Auto precharge、Automatic column address generation、Auto refresh TSOP-54-400mil SDRAM ROHSMicron TechSDRAM
README
konnect-tests/dual-adc-usb-2/README.mdDual-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
| Requirement | How it is met |
|---|---|
| 2 channels, ±10 V input | Two 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 bit | LTC2290 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 rate | One 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 connectors | BNC inputs with 1 MΩ ‖ ~12 pF. C103/C203 trimmers set probe compensation. |
| USB 2.0, power + data | FT2232H high-speed USB, bus powered, USB-B receptacle. |
| USB-C if power insufficient | Not needed. Estimated draw is ~370 mA against the 500 mA limit (see the power budget below). |
Design decisions (options → choice)
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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).
- 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)
| Rail | Load | From 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_10Mgoes to pin 21 (GBIN6). - Bank 0 (top): FT2232H FIFO D0–7 on 110–118 and control on 119–125.
FT_CLKgoes to pin 129 (GBIN0). SDRAM control is on 135–144, andSD_CLKleaves 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_issueswarnings. These come from the environment, not the design: the global KiCad 10sym-lib-tablepoints 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
- 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 originaldual_adc_usb.kicad_pcbis still the placed-but-unrouted 2-layer board; the candidate also includes ~20 small decap moves. Routing scripts and the final SES are inrouting/. 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_mismatchwarnings. The mismatch warnings come from the stale global footprint library table.
- FPGA gateware: ADC capture → SDRAM controller → FT245 sync FIFO readout. Bitstream programming through
iceprog -I B. - Host software (libftdi / pyftdi): arm, capture, read back.
Parts
179| Qty | Value | Footprint | References |
|---|---|---|---|
| 49 | 100nF | Capacitor_SMD:C_0603_1608Metric | C15, C19, C20, C21, C22, C23, C24, C26, C27, C28, C29, C30, C36, C37, C44, C45 +33 |
| 13 | 1k | Resistor_SMD:R_0603_1608Metric | R6, R17, R18, R19, R20, R21, R26, R27, R28, R29, R30, R45, R46 |
| 12 | 10k | Resistor_SMD:R_0603_1608Metric | R1, R9, R10, R12, R13, R14, R33, R40, R41, R42, R43, R44 |
| 9 | 10uF | Capacitor_SMD:C_0805_2012Metric | C3, C5, C8, C61, C69, C80, C81, C83, C93 |
| 9 | 1uF | Capacitor_SMD:C_0603_1608Metric | C2, C4, C6, C7, C10, C49, C50, C54, C55 |
| 7 | 2.2uF | Capacitor_SMD:C_0805_2012Metric | C9, C12, C13, C48, C51, C53, C56 |
| 7 | 33 | Resistor_SMD:R_Array_Convex_4x0603 | RN1, RN2, RN3, RN4, RN5, RN6, RN7 |
| 4 | 33pF | Capacitor_SMD:C_0603_1608Metric | C34, C35, C42, C43 |
| 4 | 4.7uF | Capacitor_SMD:C_0805_2012Metric | C1, C11, C18, C25 |
| 4 | 49.9 | Resistor_SMD:R_0603_1608Metric | R22, R23, R31, R32 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 3 | 33 | Resistor_SMD:R_0603_1608Metric | R35, R36, R37 |
| 2 | 100 | Resistor_SMD:R_0603_1608Metric | R38, R39 |
| 2 | 100k | Resistor_SMD:R_0603_1608Metric | R3, R5 |
| 2 | 100pF | Capacitor_SMD:C_0603_1608Metric | C38, C46 |
| 2 | 12pF | Capacitor_SMD:C_0603_1608Metric | C31, C39 |
| 2 | 2.7pF | Capacitor_SMD:C_0603_1608Metric | C32, C40 |
| 2 | 22pF | Capacitor_SMD:C_0603_1608Metric | C33, C41 |
| 2 | 27pF | Capacitor_SMD:C_0603_1608Metric | C16, C17 |
| 2 | 600R@100MHz | Inductor_SMD:L_0603_1608Metric | FB2, FB3 |
| 2 | 90.9k | Resistor_SMD:R_0603_1608Metric | R16, R25 |
| 2 | 909k | Resistor_SMD:R_0603_1608Metric | R15, R24 |
| 2 | BAV99 | Package_TO_SOT_SMD:SOT-23 | D2, D3 |
| 2 | THS4521ID | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U9, U10 |
| 2 | Yellow | LED_SMD:LED_0603_1608Metric | D4, D5 |
| 1 | 120R@100MHz 2A | Inductor_SMD:L_0603_1608Metric | FB1 |
| 1 | 12MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | 12k | Resistor_SMD:R_0603_1608Metric | R8 |
| 1 | 1M | Resistor_SMD:R_0603_1608Metric | R7 |
| 1 | 2.2k | Resistor_SMD:R_0603_1608Metric | R11 |
| 1 | 20k | Resistor_SMD:R_0603_1608Metric | R34 |
| 1 | 226k | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | 232k | Resistor_SMD:R_0603_1608Metric | R2 |
| 1 | 4.7nF | Capacitor_SMD:C_0603_1608Metric | C14 |
| 1 | 750mA | Fuse:Fuse_1206_3216Metric | F1 |
| 1 | 93LC56B | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U7 |
| 1 | AP2112K-1.2 | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | AP2112K-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U1 |
| 1 | ASE-10.000MHz | Oscillator:Oscillator_SMD_Abracon_ASE-4Pin_3.2x2.5mm | X1 |
| 1 | BNC_A | Connector_Coaxial:BNC_Amphenol_B6252HB-NPP3G-50_Horizontal | J2 |
| 1 | BNC_B | Connector_Coaxial:BNC_Amphenol_B6252HB-NPP3G-50_Horizontal | J3 |
| 1 | FT232HL | Package_QFP:LQFP-48_7x7mm_P0.5mm | U6 |
| 1 | Green | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | ICE40HX4K-TQ144 | Package_QFP:TQFP-144_20x20mm_P0.5mm | U12 |
| 1 | LM27762 | Package_SON:WSON-12-1EP_3x2mm_P0.5mm_EP1x2.65 | U4 |
| 1 | LP5907MFX-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U3 |
| 1 | LTC2290CUP | Package_DFN_QFN:QFN-64-1EP_9x9mm_P0.5mm_EP7.15x7.15mm | U11 |
| 1 | MT48LC16M16A2TG-6A | Package_SO:TSOP-II-54_22.2x10.16mm_P0.8mm | U14 |
| 1 | OPA1656ID | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U8 |
| 1 | PROG | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J4 |
| 1 | USBLC6-2SC6 | Package_TO_SOT_SMD:SOT-23-6 | U5 |
| 1 | USB_B | Connector_USB:USB_B_OST_USB-B1HSxx_Horizontal | J1 |
| 1 | W25Q32JVSS | Package_SO:SOIC-8_5.3x5.3mm_P1.27mm | U13 |
More from devbisme/ai-circuit-design-tests
9- 4 layers100 × 80 mm

- 4 layers130 × 90 mm

- 4 layers150 × 90 mm

- 4 layers140 × 95 mm

- 4 layers120 × 69 mm

- 4 layers128 × 85 mm

- 4 layers115 × 85 mm

- 2 layers140 × 90 mm

- 4 layers120 × 88 mm

Similar boards
- 4 layers100 × 100 mm

- 2 layers119.4 × 119.4 mm

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 mm

Backplane
stockmann-lab/shim_amp_hardware_linear
Hardware related to open-source shim amplifier development for MRI research
529 parts2 - 2 layers100 × 100 mm

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 mm

- 4 layers36.8 × 24.1 mm

- 4 layers36 × 77 mm

- 2 layers51 × 21 mm

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.