Community extension — maintained by Lucas Bollen (QBayLogic). Not an official release of the Clash project.
Synthesize Verilog from Haskell functions using Clash, explore the result with Yosys, and place-and-route for ECP5, iCE40, and Gowin FPGAs with nextpnr — all from inside VS Code.
Install the extension. You need Clash and HLS available (e.g. via nix develop).
Yosys, nextpnr and Graphviz dot are optional — if a command needs one
that isn't on your PATH, the extension shows a checklist of tools (missing
ones pre-checked, found ones unchecked) and downloads the checked tools from
a self-contained OSS CAD Suite
build into its own storage. You choose, per tool, which to manage.
Open a Clash project, make sure HLS is running.
Open a .hs file → Ctrl+. on a monomorphic function → Synthesize (or use the Command Palette).
Run Clash: Check Toolchain to verify tool availability, or Clash: Install
Toolchain to download the bundled toolchain up front. A tool you already have
on your PATH is always used in preference to the managed copy.
Documentation
Full documentation is in the book/ directory (built with mdbook):