Skip to main content

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.

CAD_INTELLIGENCE (example)RULE-BASED
[01] Sensor Ingestion357-Page PDF
ST DS12110 Rev 11 (STM32H743xI)
Pin table: Table 9, from page 64. LQFP144 drawing: Table 211, page 325
[02] IPC-7351B Geometry SolverDensity B
Toe (JT): 0.35 mm
Heel (JH): 0.35 mm
Side (JS): 0.03 mm
Courtyard: 0.25 mm
[03] EDA Artifacts & kicad-cli Load CheckREVIEW
.kicad_sym + .kicad_mod + canonical.json

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
component_truth.json (abridged, illustrative)
{ "contract_name": "ComponentTruth", "contract_version": "0.1.0",
"identity": { "manufacturer_part_number": "STM32H743ZIT6" },
"package": { "package_name": "LQFP144", "pin_count": 144 },
"pins": [ … ], "electrical_limits": [ … ], "audit": { … } }

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-cli as 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.

Nominal (Level B)Simplified IPC-7351B

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
LQFP-144 Lead & Solder Pad SimulationSchematic, not to scale
Courtyard Excess: +0.25mmCopper Pad0.345mm × 1.506mmIC LeadToe (JT)Heel (JH)
Calculated Copper Pad Physical IC Terminal Courtyard

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.

Solid Copper Land
Full copper pad
Size from the datasheet
Coverage: 100% Surface AreaPaste windowing

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.

Pinout Taxonomy Inspector (STM32H743 LQFP-144)Click row to inspect
Pin 43: PA7BIDIRECTIONAL
I/O Structure (pin table)
TT_a: 3.3 V tolerant I/O, analog option
KiCad Electrical Type
bidirectional
Alternate Functions (pin table; not written into the symbol)
  • 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
Source Evidence Reference
Page 70, Table 9

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.

Cookies. Strictly necessary cookies keep you signed in and remember this choice. Optional analytics (Google, Microsoft, PostHog) show us how the site is used. Cookie details