ProjectsSoftware & Development Tools
Datum
A deterministic FPGA build platform. It exports hash-verified source bundles, runs Vivado builds on a remote workstation through a gRPC daemon, enforces timing gates, and records every artifact with checksums.
- Rust workspace, gRPC API
- SHA-256 verified bundles
- Timing gate before bitstream
Evidence ledger
Every claim carries the strongest evidence that currently exists for it. Planned work is listed as planned.
- Synthesized / implementedComplete Vivado 2019.2 implementations run through Datum, including the Ruska eight-voice design (setup WNS +1.433 ns) and the Forma Benchmark 2 design; bitstreams are written only if the timing gate passes.
- Measured on hardwareA bitstream built through Datum was programmed on a Nexys A7-100T and observed responding to microphone input (see Forma).
- SimulatedRemote build flow exercised end to end by 13 gRPC integration tests against a fake Vivado; the generated Tcl runs under a real Tcl interpreter with Vivado commands stubbed.
- PlannedOther vendor toolchains. Microchip Libero is not supported, so a Ruska profile for it cannot be a Datum target yet.
Key: Synthesized / implemented · Measured on hardware · Simulated · Planned
Engineering challenge
An FPGA bitstream is only useful if you can say exactly what it was built from. In practice builds happen on a particular machine, from a working tree that may be dirty, with whatever tool settings were last used. Datum treats that as the problem: a build should be reproducible on a remote workstation, traceable to a source bundle, and gated on timing before any bitstream exists.
Approach
Sources are exported into a bundle with a manifest of SHA-256 hashes; the bundle is verified, uploaded, and built remotely. The build runs as a supervised job, produces artifacts that are copied into a store with their own hashes, and records timing results so a later run can be compared against a previous one (worst setup slack, worst hold slack, failing endpoints).
Architecture
Developer machine
- datum CLIbundle export · verify
- datum.tomltarget, sources, compile order
Transport
- gRPC datum.v1coordinator API
Build workstation
- datumd node
- Supervised workersystemd --user
Vivado flow
- Synth · place · route
- Timing gateno bitstream on failure
Records
- Artifact storeSQLite + SHA-256
Implementation
Datum is a Rust workspace with crates for the core data model, protocol, store, timing analysis, Vivado flow, and the command-line and daemon front ends. The Vivado flow generates its Tcl, runs resumably, and fails loudly: a negative worst slack, or zero analysed paths, stops the batch before bitstream generation. A deployment kit cross-builds the daemon for Linux x86-64 from macOS and includes scripts to run it as a systemd user service; the systemd path is written but not yet exercised.
Verification and results
Datum’s own tests cover the data model, store consistency, timing-regression comparison and the gRPC flow with a fake Vivado. The evidence that matters most is downstream: complete Vivado runs through Datum feed the Ruska and Forma projects, each with a recorded job identifier, bundle hash and timing result.
Limitations and next steps
- Vivado 2019.2 is the only implemented toolchain.
- The remote boundary and job-supervision contracts are written down but not yet exercised under failure.
- Next: additional toolchains, then hardening of the remote service.
Media
A terminal capture of a bundle export and a build summary will be added.