We are an FPGA design house located in Enschede, The Netherlands.
Call us on:

Starter project: get started with Clash in minutes!

We just released a new and convenient way to get started with Clash: a starter project based on Stack. To get started, install Stack. Next, open a terminal and type:

stack new my-clash-project clash-lang/simple

Your project will be instantiated in my-clash-project/ and is ready to be built. To do so, type:

stack build

To run the tests in the project, run:

stack test

To compile to VHDL, run:

stack run clash -- Test.Example --vhdl

And that's all there is to it! The directory includes a README.md giving you an overview of the project and how to extend it. Alternatively, you can read it online too. Happy Clashing!

Note: Nix users might be interested in the Clash Nix Starter Project.

Note: Due to an upstream bug, these instructions are currently broken on Windows Build 2004. This is expected to be fixed with the release of GHC 8.10.3. We will update the starter project and remove this message as soon as that happens. In the meantime, consider using WSL2 to run Clash.

Written by
Martijn Bastiaan
comments powered by Disqus
  • FPGA design house

    We apply FPGA technology in domains with difficult mathematical problems, where solutions need low latencies and high performance.

  • Creators of Clash

    We have developed Clash, a functional hardware description language, providing unprecedented abstraction mechanisms for FPGA design.

  • Experienced educators

    Our workshops and training are based on 30+ years of experience in teaching students at bachelor, master, and phd level.