The clash-prelude package

[Tags:bsd2, library]

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:

This package provides:

To use the library:

A preliminary version of a tutorial can be found in CLaSH.Tutorial, for a general overview of the library you should however check out CLaSH.Prelude. Some circuit examples can be found in CLaSH.Examples.


[Skip to Readme]

Properties

Versions 0.2, 0.3, 0.4, 0.5, 0.5.0.1, 0.5.1, 0.6, 0.6.0.1, 0.7, 0.7.1, 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.8, 0.8.1, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.10, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.10.6, 0.10.7, 0.10.8, 0.10.9
Change log CHANGELOG.md
Dependencies array (>=0.5.1.0 && <0.6), base (>=4.8.0.0 && <5), data-default (>=0.5.3 && <0.8), ghc-prim (>=0.3.1.0 && <0.6), ghc-typelits-extra (==0.1.*), ghc-typelits-natnormalise (>=0.4.1 && <0.5), integer-gmp (>=0.5.1.0 && <1.1), lens (>=4.9 && <4.15), QuickCheck (>=2.7 && <2.9), reflection (>=2 && <2.2), singletons (>=1.0 && <3.0), template-haskell (>=2.9.0.0 && <2.12), th-lift (>=0.5.6) [details]
License BSD2
Copyright Copyright © 2013-2016 University of Twente
Author Christiaan Baaij
Maintainer Christiaan Baaij <christiaan.baaij@gmail.com>
Stability Unknown
Category Hardware
Home page http://www.clash-lang.org/
Bug tracker http://github.com/clash-lang/clash-prelude/issues
Source repository head: git clone https://github.com/clash-lang/clash-prelude.git
Uploaded Thu Jun 9 09:50:28 UTC 2016 by ChristiaanBaaij
Updated Thu Jun 9 14:38:57 UTC 2016 by ChristiaanBaaij to revision 1
Distributions LTSHaskell:0.10.9, NixOS:0.10.9, Stackage:0.10.9
Downloads 3223 total (115 in the last 30 days)
Votes
1 []
Status Docs available [build log]
Last success reported on 2016-06-09 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
doctestsYou can disable testing with doctests using `-f-doctests`.EnabledManual
doclinksCreate hyperlinks to non-dependent packages using `-fdoclinks`.DisabledManual

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for clash-prelude

Readme for clash-prelude-0.10.9

CλaSH - A functional hardware description language

Build Status Hackage Hackage Dependencies

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

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 (like VHDL), yet with a very high degree of type inference, enabling both safe and fast prototying using consise descriptions (like Verilog).

  • 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