SpinalHDL describes digital hardware in Scala and emits VHDL or Verilog for EDA tools. It follows an RTL paradigm, not high-level synthesis.
Overview
SpinalHDL is a language and library set for describing digital hardware in Scala. Descriptions compile to VHDL or Verilog files that standard electronic design automation tools can consume, in a direct one-to-one fashion without hidden translation layers.
The approach stays closer to register-transfer level design than to high-level synthesis or event-driven HDL styles. Object-oriented and functional programming features help elaborate and verify hardware while aiming to avoid extra area or performance cost versus hand-written VHDL or Verilog.
You include SpinalHDL as Scala libraries in a project built with SBT, Gradle, or Mill, or start from provided example projects. Artifacts are also published for Maven-style consumption.
The core compiler uses LGPL3 while libraries use MIT. Generated RTL and your Scala sources remain yours, and industrial use does not require a separate license fee.
Key features
- Scala-based hardware description
- VHDL and Verilog generation
- EDA tool compatibility
- RTL-focused design model
- OOP and FP for elaboration
- SBT, Gradle, and Mill builds
- Maven-published artifacts
- Example project templates
Use cases
- FPGA and ASIC RTL design
- Replacing verbose VHDL or Verilog
- Educational digital design projects