Skip to content
This repository has been archived by the owner on Sep 22, 2019. It is now read-only.

CLaSH prelude library containing datatypes and functions for circuit design

License

Notifications You must be signed in to change notification settings

thoughtpolice/clash-prelude

 
 

Repository files navigation

CλaSH - A functional hardware description language

Build Status Hackage Hackage Dependencies

WARNING Only works with GHC-8.0.* (http://www.haskell.org/ghc/download_ghc_8_0_2)!

CλaSH (pronounced ‘clash’) is a functional hardware description language that borrows both its syntax and semantics from the functional programming language Haskell. The CλaSH compiler transforms these high-level descriptions to low-level synthesizable VHDL, Verilog, or SystemVerilog.

Features of CλaSH:

  • Strongly typed, yet with a very high degree of type inference, enabling both safe and fast prototyping using concise descriptions.

  • Interactive REPL: load your designs in an interpreter and easily test all your component without needing to setup a test bench.

  • Higher-order functions, with type inference, result in designs that are fully parametric by default.

  • Synchronous sequential circuit design based on streams of values, called Signals, lead to natural descriptions of feedback loops.

  • Support for multiple clock domains, with type safe clock domain crossing.

Support

For updates and questions join the mailing list clash-language+subscribe@googlegroups.com or read the forum

About

CLaSH prelude library containing datatypes and functions for circuit design

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%