Comparison With Other HDLs
Neo borrows ideas from modern software languages, embedded HDLs, and timing-checked HDLs. Here is how it differs from the tools you may already use.
Neo vs. SystemVerilog
- Parameter verification up front: SystemVerilog
parameterbugs often only show up when a specific instantiation is elaborated or simulated. Neo checks a parameterized module for every valid parameter value before any instantiation. - Safe, latch-free RTL: Neo has no
x/zvalues, allows each signal to be driven only once, requires every branch of acombblock to assign the same signals, checksmatch/caseexhaustiveness, and warns about undriven signals. - Cycle timing & clock-domain safety: Neo tracks signal cycle offsets and clock domains directly in the language, catching pipeline off-by-one bugs and accidental clock-domain crossings at compile time.
- Clean interop: Neo emits readable SystemVerilog with preserved module and signal names, so existing simulation, synthesis, and verification flows work without friction.
Neo vs. Embedded HDLs (Chisel, ROHD, SpinalHDL)
- Dedicated syntax and diagnostics: Embedded HDLs inherit the host language's syntax and type system, and report some errors when the Scala/Dart program compiles and others only when it runs and generates hardware. Neo is a standalone language that reports all errors at once, in your editor, through its language server.
- Pre-instantiation verification: Hardware generators only catch width or wiring bugs for the parameter combinations you actually run. Neo proves widths, bounds, and timing correct for all valid parameters.
- Interop: Neo compiles to SystemVerilog and FIRRTL (for CIRCT), and generates ROHD wrapper stubs, so Neo modules fit into existing Chisel, ROHD, or Verilog flows.
Neo vs. Filament
Neo's cycle timing annotations are inspired by Filament. Neo applies them in a general-purpose RTL language and adds:
- Dynamic (
Dynamic(clk)) timing for handshakes and control signals that aren't tied to a fixed cycle. - Explicit clocks and clock-domain tracking, so accidental clock-domain crossings are compile-time errors.
- Built-in
Decoupled(T, clk)andOption(T)for ready/valid interfaces.