A type-safe, formally verifiable HDL compiler in Lean 4. Inspired by Clash, built for high-assurance hardware synthesis.
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
// how to help
// readme
Sparkle HDL
Write hardware in Lean 4. Prove it correct. Generate Verilog.
A type-safe hardware description language that brings dependent types and theorem proving to hardware design.
Live docs & benchmarks: the project publishes three hosted pages at verilean.github.io/sparkle:
- ๐ Tutorial (JupyterLite) โ
the multi-chapter beginner course, runnable in-browser via xeus-lean.
(Known issue: some environments fail to boot the Lean kernel or load Sparkle;
when that happens, read the rendered notebooks under
docs/tutorial/Notebooks/or use the Docker path in Quick Start below.) - ๐ API reference (doc-gen4) โ
fully cross-linked documentation for every public definition, generated
from the source with
lake build Sparkle:docs.