Language Reference ​
The Language Design section documents the architecture and formal semantics of the Rust Neo compiler:
- Compiler Architecture: Overview of the Rust workspace crates and end-to-end compilation pipeline.
- Type System: Neo's two-level type system—compile-time meta types (
UInt,Pos,Bool,LogicType,Timing, ...) and hardware logic types. - Symbolic Validator: Z3-powered symbolic verification checks, exhaustiveness rules, and diagnostic codes.
- Elaboration & Backends: Monomorphization into versioned Concrete HW-IR (
neo-ir), SystemVerilog, FIRRTL 3.3.0, and Dart ROHD stubs. - Timing & Clock Domains: The timing lattice (
Constant <= SingleCycle <= Dynamic) and static clock-domain crossing (CDC) verification.
The Logic Types Reference provides exact rules, bit layouts, operators, and methods for each hardware type: