Need help with SpinalHDL?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

719 Stars 152 Forks Other 3.5K Commits 54 Opened issues


Scala based HDL

Services available


Need anything else?

Contributors list

No Data

About SpinalHDL

SpinalHDL is:

  • A language to describe digital hardware
  • Compatible with EDA tools, as it generates VHDL/Verilog files
  • Much more powerful than VHDL, Verilog, and SystemVerilog in its syntax and features
  • Much less verbose than VHDL, Verilog, and SystemVerilog
  • Not an HLS, nor based on the event-driven paradigm
  • Only generates what you asked it in a one-to-one way (no black-magic, no black box)
  • Not introducing area/performance overheads in your design (versus a hand-written VHDL/Verilog design)
  • Based on the RTL description paradigm, but can go much further
  • Allowing you to use Object-Oriented Programming and Functional Programming to elaborate your hardware and verify it
  • Free and can be used in the industry without any license


  • Documentation
  • Presentation of the language
  • SBT base project
  • Gradle base project
  • Jupyter bootcamp
  • Workshop
  • Google group!forum/spinalhdl-hardware-description-language

Join the chat at

Build Status

Get it

SpinalHDL is simply a set of Scala libraries. Include them into your project and you're good to go! If you're unsure about what to do, simply clone one of our example projects (see links above).

SBT (Scala build tool)

scalaVersion := "2.11.12"

libraryDependencies ++= Seq( "com.github.spinalhdl" % "spinalhdl-core_2.11" % "latest.release", "com.github.spinalhdl" % "spinalhdl-lib_2.11" % "latest.release", compilerPlugin("com.github.spinalhdl" % "spinalhdl-idsl-plugin_2.11" % "latest.release") )

You can force SBT to pick a specific SpinalHDL version by replacing

with a specific version. See the SpinalHDL SBT Template project's
for a full SBT example.


repositories {

dependencies { compile group: 'com.github.spinalhdl', name: 'spinalhdl-core_2.11', version: '1.3.6' compile group: 'com.github.spinalhdl', name: 'spinalhdl-lib_2.11', version: '1.3.6' }

Mill(Build Tool)

object MySpinalModule extends ScalaModule {
  def scalaVersion = "2.11.12"

def ivyDeps = Agg( ivy"com.github.spinalhdl::spinalhdl-core:1.4.1", ivy"com.github.spinalhdl::spinalhdl-lib:1.4.1", )

def scalacPluginIvyDeps = Agg(ivy"com.github.spinalhdl::spinalhdl-idsl-plugin:1.4.1") }


The files are available on Maven as well.

Change logs


The SpinalHDL core is using the LGPL3 license while SpinalHDL lib is using the MIT license. That's for the formalities. But there are some practical statements implied by those licenses:

Your freedoms are:

  • You can use SpinalHDL core and lib in your closed/commercial projects.
  • The generated RTL is yours (.vhd/.v files)
  • Your hardware description is yours (.scala files)

Your obligations (and my wish) are:

  • If you modify the SpinalHDL core (the compiler itself), please, share your improvements.

Also, SpinalHDL is provided "as is", without warranty of any kind.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.