The kansas-lava package

[Tags:bsd3, library]

Kansas Lava is a Domain Specific Language (DSL) for expressing hardware-oriented descriptions of computations, and is hosted inside the language Haskell. Kansas Lava programs are descriptions of specific hardware entities, the connections between them, and other computational abstractions that can compile down to these entities.

[Skip to Readme]


Versions 0.2.4,,
Dependencies base (>=4.7 && <5), bytestring, cmdargs, containers, data-default, data-reify (==0.6), directory, dotgen (>=0.4.1), filepath, netlist (>=0.3.1), netlist-to-vhdl (>=0.3.1), process, random, sized-types (>=0.3.4 && <0.4), strict, template-haskell [details]
License BSD3
Copyright (c) 2009-2011 The University of Kansas
Author Andy Gill
Maintainer Andy Gill <>
Stability alpha
Category Language, Hardware
Home page
Source repository head: git clone git://
this: git clone git:// -b kansas-lava-0.2.4(tag
Uploaded Fri Jun 19 10:36:47 UTC 2015 by GergoErdi
Updated Sun Jun 21 00:30:40 UTC 2015 by AdamBergmark to revision 1
Distributions NixOS:
Downloads 689 total (17 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2015-06-19 [all 1 reports]




allEnable full development treeDisabledAutomatic
unitEnable unit testing binaryDisabledAutomatic
toolsEnable extra tool binaryDisabledAutomatic

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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for kansas-lava

Readme for kansas-lava-

Kansas Lava

Kansas Lava is a Haskell library which allows the specification and
simulation of hardware, and hardware level concerns.  Haskell
functions written in Kansas Lava can be interpreted as having the
semantics of a specific circuit, or compiled into VHDL, for
compilation and synthesis using standard HDL tools.

To run tests

% cabal configure -fall
% cabal build
% cd tests
% make test	   	-- use 'make test ARGS=--gensim' if you want to generate VHDL
% make simulate	-- [optional] if you want to test the VHDL using modelsim
% make report		-- generate test report