stackup is a declarative electronics design tool. A design written in KDL v2 states the parts, reusable circuits, connections, and constraints of a board. The CLI checks those statements together and exports the result for KiCad. It validates choices made by the design; it does not choose components or pins on the designer's behalf.
This repository is the KDL engine and CLI. Reusable parts live in the separate stackup library. The ARC KDL designs are one set of boards built with it.
- SPEC.md defines the design format and its intended behavior.
- OPEN.md tracks unresolved questions and implementation gaps.
- kicad-plugin/README.md explains PCB synchronization and the KiCad editor integration.
The Rust workspace publishes stackup-eda (the stackup CLI and engine library) and
stackup-eda-parser (the KDL syntax library). Build and test it with:
cargo test --workspace
cargo install --path crates/stackupThe published CLI installs with cargo install stackup-eda; the command remains stackup.
Run stackup check path/to/board.kdl to validate a design, or stackup bom path/to/board.kdl to export a purchasing CSV. A project can import a pinned parts library through its manifest.kdl; see the library README for an example. Use stackup --help for the available commands.