Traceable Compilation Pipeline
From datasheet evidence to reviewable KiCad artifacts.
CAD Intelligence turns messy PDF package tables and drawings into KiCad footprints, schematic symbols with real pin types, and versioned canonical contracts. When a datasheet prints no land pattern, the KiCad bundle's calculator derives the lands from the package drawing with simplified IPC-7351B math. Models harvest the facts; deterministic code calculates the geometry; kicad-cli loads each file as a format check.
Traceable Workflow
Six stages, from PDF to checked files.
Click through each pipeline stage to inspect the inputs, transformation equations, and machine outputs.
Stage 3: Canonical Component Contract
The Versioned Machine-Readable Schema
Extracted facts are normalized into a ComponentTruth contract (component_truth.json). This structured object model keeps the package, the pins, the electrical and thermal limits and the cautions in separate sections.
- Versioned JSON contracts, built and checked in TypeScript
- Evidence references with page, table and quote where recorded
- One JSON file that other tools and agents can read
The Golden Architecture
AI is the Sensor. Deterministic Math is the Brain.
In hardware design, a language model should not write CAD files or invent physical geometry. We use models to read the PDF; deterministic code owns the geometry and writes the files.
The Extraction Layer (AI Sensor)
Probabilistic Pattern Extraction
- Looks for the mechanical package drawing in long datasheets, guided by the page map
- Extracts terminal pitch, body dimensions, and tolerance ranges
- Parses multiplexed pin descriptions and peripheral functions
- Records the source page of each value where it can, for human audit
The Geometry & EDA Layer (Code Brain)
Deterministic Mathematical Solvers
- Computes simplified IPC-7351B pad extensions (JT, JH, JS) and courtyards
- Calculates windowed paste apertures for exposed thermal pads
- Assigns pin classes and places symbol pins by role on KiCad's 1.27 mm grid
- Loads the generated S-expressions with
kicad-clias a file-format check (no DRC)
IPC-7351B Math Solver
Land patterns calculated from explicit geometry.
Compare the three IPC-7351 density levels. When the datasheet prints no land pattern, the KiCad bundle's engine calculates toe, heel, and side solder fillet extensions with simplified IPC-7351B formulas.
IPC-7351 describes this level for boards with a moderate component density, with a robust joint for reflow soldering. Our calculator uses it unless asked for another level.
- Toe
- 0.35 mm
- Heel
- 0.35 mm
- Side
- 0.03 mm
- Courtyard
- 0.25 mm
Thermal Land Pattern Strategy
Thermal pads are not just solid copper rectangles.
One solid paste opening over an exposed center pad can trap outgassing voids and let the component float during reflow, lifting perimeter signal leads off their pads.
For an exposed pad on a no-lead package, CAD Intelligence generates a continuous copper thermal land on the copper layer and splits the paste on the stencil layer into separate apertures. The grid grows with the pad: one window up to 2 mm per side, 2×2 up to 5 mm, 3×3 up to 10 mm and 4×4 above that, aiming at about 65% paste coverage at nominal density. A paste layout the datasheet prints is used instead.
Semantic Architecture
A symbol with electrical types, not just pin names.
CAD Intelligence doesn't just copy a string of pin names. It classifies each pin's physical class and gives it a KiCad electrical type. Alternate functions are recorded in its pin-capability file; the KiCad symbol itself carries pin names, numbers and electrical types.
- TIM1_CH1N
- TIM3_CH2
- TIM8_CH1N
- SPI1_MOSI/I2S1_SDO
- SPI6_MOSI
- TIM14_CH1
- ETH_MII_RX_DV/ETH_RMII_CRS_DV
- FMC_SDNWE
- EVENTOUT
Native EDA Outputs
Native files, not screenshots or proprietary formats.
DatasheetVend writes KiCad S-Expressions and JSON contracts that other tools and agents can read.
;; Abridged real output of the symbol writer, run on a few STM32H743ZI pins
;; (numbers: ST DS12110 Rev 11, Table 9). The full file lists every pin, and
;; positions change with the pin count.
(kicad_symbol_lib (version 20211014) (generator datasheetvend_kicad_bundle)
(symbol "STM32H743ZIT6" (in_bom yes) (on_board yes)
(property "Reference" "U" (id 0) (at 0 16.51 0)
(effects (font (size 1.27 1.27)))
)
(property "Value" "STM32H743ZIT6" (id 1) (at 0 -16.51 0)
(effects (font (size 1.27 1.27)))
)
…
(symbol "STM32H743ZIT6_0_1"
(rectangle (start -10.16 11.43) (end 10.16 -11.43)
(stroke (width 0.254) (type default) (color 0 0 0 0))
(fill (type background))
)
(pin input line (at -12.7 1.27 0) (length 2.54)
(name "NRST" (effects (font (size 1.27 1.27))))
(number "25" (effects (font (size 1.27 1.27))))
)
(pin bidirectional line (at 12.7 2.54 180) (length 2.54)
(name "PA7" (effects (font (size 1.27 1.27))))
(number "43" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at -1.27 13.97 270) (length 2.54)
(name "VDD" (effects (font (size 1.27 1.27))))
(number "17" (effects (font (size 1.27 1.27))))
)
(pin power_in line (at 0 -13.97 90) (length 2.54)
(name "VSS" (effects (font (size 1.27 1.27))))
(number "16" (effects (font (size 1.27 1.27))))
)
…
)
)
)Next step
Generate your first reviewable component today.
Stop transcribing PDF tables into CAD tools by hand. Upload a datasheet and export KiCad symbols and footprints, with simplified IPC-7351B lands where the datasheet gives none, ready for your review.
Try it on a datasheet you have.
Free passes cover pinout, footprint, thermal, timing and pin cautions. KiCad files and the Altium Assist Package run on module credits.