Starter project: get started with Clash in minutes!
Reading time: 1 minute
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:
Your project will be instantiated in my-clash-project/ and is ready to be built. To do so, type:
To run the tests in the project, run:
To compile to VHDL, run:
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.
1 |
stack new my-clash-project clash-lang/simple |
1 |
stack build |
1 |
stack test |
1 |
stack run clash -- Test.Example --vhdl |