A map of ferite.
Follow Lithic from circuit to verified RTL, Strata from tensor graph to execution, and the feedback loop connecting their design.
Strata & the feedback loop
Workloads feed hardware; verified hardware feeds runtime capabilities. Follow the shared contract and its current limits.
3 pagesOne Ferrite, two directions
The Lithic–Strata ouroboros: a shared workspace and a workload-driven hardware feedback loop, without circular dependencies.
Strata: from graph to numbers
The tensor graph, capability-driven partitioning, CPU reference backend and host execution in the Ferrite monorepo.
The backend and plugin boundary
Subgraph-level compilation, explicit decline and the versioned C ABI: what exists and what remains planned.
Concepts
Learn the circuit model and the choices inherited from Hardcaml.
4 pagesHow a circuit becomes a value
Combinational and sequential logic, clock edges, bit order, and what equivalence checking actually proves.
OCaml, and the idea of a hardware DSL
The three ways to write hardware, what a hardware construction language is, and which OCaml features carry weight.
Hardcaml, the design being ported
Signal.t, Reg_spec, wire and feedback, Cyclesim, ppx interfaces — and the three checks inherited verbatim.
Why Rust, honestly
What the type system does not check, where compile-time width checking was traded away, and what actually verifies the design.
Toolchain
Follow a value from bits to the graph, then into simulation and RTL.
11 pagesFixed-width bitvectors
Runtime-width integers over u64 words, with the width rules that make Verilog agree with you.
The graph
Nodes, widths and dependencies. No behaviour, no types, no opinions about what hardware is.
The front end
Design is an arena behind builders, and a Signal is a node id with a cached width.
The cycle simulator
Combinational within a cycle, sequential at the edge, and the edge is a real boundary.
The Verilog emitter
One structural always block for the whole design, and a signature both backends agree on.
Ports by derive
A port list is a struct, and the derive reads the shape rather than a list of strings.
Waveform data
Cycle-indexed values you assert on directly, plus a VCD rendering for when you want eyes.
Step testbenches
Coroutine testbenches where every await is one clock edge.
Verilator equivalence
Two backends, one stimulus, compared cycle by cycle, with the first difference reported.
What a process is
Tile geometry, flip-flops per tile, and the memory macros with their names, port lists and measured areas.
The submission boundary
The Tiny Tapeout wrapper, the pin budget, the `info.yaml`, and a memory on a foundry macro.
Verification & evidence
Read the external checks, the defects they exposed and the measured costs.
3 pagesThe corpus
21 real algorithms written the way hardware would want them, each checked 3 ways.
What the corpus found
Nine defects, and one shape: a constant that looks right, builds a graph of exactly the right width, and means the opposite of what it says.
Benchmarks, measured
Node counts, flops, bits of state and combinational depth for every design, derived from the IR rather than estimated.