Changelog for clash-lib-0.6.9
Changelog for the clash-lib
package
0.6.9
- Fixes bugs:
0.6.8 January 13th 2015
- New features:
- Support for Haskell's:
Char
,Int8
,Int16
,Int32
,Int64
,Word
,Word8
,Word16
,Word32
,Word64
. - Int/Word/Integer bitwidth for generated HDL is configurable using the
-clash-intwidth=N
flag, whereN
can be either 32 or 64.
- Support for Haskell's:
- Fixes bugs:
- Cannot reduce
case error ... of ...
toerror ...
#109
- Cannot reduce
0.6.7 December 21st 2015
- Support for
unbound-generics-0.3
- New features:
- Only look for 'topEntity' in the root module. #22
0.6.6 December 11th 2015
- New features:
- Remove all existing HDL files before generating new ones. This can be disabled by the
-clash-noclean
flag. #96 - Support for
clash-prelude
0.10.4
- Remove all existing HDL files before generating new ones. This can be disabled by the
0.6.5 November 17th 2015
- Fixes bugs:
- Integer literals used as arguments not always properly annotated with their type.
0.6.4 November 12th 2015
- Fixes bugs:
0.6.3 October 24th 2015
- New features:
- Improve DEC transformation: consider alternatives before the subject when checking for disjoint expressions.
- Fixes bugs:
- DEC: don't generate single-branch case-expressions #90
0.6.2 October 21st 2015
- Fixes bugs:
- DEC: Subject and alternatives are not disjoint #88
0.6.1 October 16th 2015
-
New features:
-
Support for
clash-prelude
0.10.1 -
Transformation that lifts applications of the same function out of alternatives of case-statements. e.g.
case x of A -> f 3 y B -> f x x C -> h x
is transformed into:
let f_arg0 = case x of {A -> 3; B -> x} f_arg1 = case x of {A -> y; B -> x} f_out = f f_arg0 f_arg1 in case x of A -> f_out B -> f_out C -> h x
-
-
Fixes bugs:
- Case-statements acting like normal decoder circuits are erroneously synthesised to priority decoder circuits.
0.6 October 3rd 2015
- New features:
- Support for
clash-prelude
0.10 - Add
~INDEXTYPE
tag: primitives get access to theIndex
clash-prelude type - Add
~IF
construct: primitives can do conditional templating - Unroll "definitions" of the following primitives:
fold
,dfold
,foldr
- Support for
0.5.13 September 21st 2015
- Fixes bugs:
- Performance bug: top-level definitions of type "Signal" erroneously inlined.
0.5.12 September 14th 2015
-
New features:
- Completely unroll "definitions" of some higher-order primitives with non-representable argument or result vectors:
It is now possible to translate e.g.
f xs ys = zipWith ($) (map (+) xs) ys :: Vec 4 Int -> Vec 4 Int -> Vec 4 Int
- Completely unroll "definitions" of some higher-order primitives with non-representable argument or result vectors:
It is now possible to translate e.g.
-
Fixes bugs:
0.5.11 September 7th 2015
- Fixes bugs:
- Clash running out of memory on Simple-ish project #70
CLaSH.Sized.Vector.:>
was not allowed as a function argument to HO-primitives
0.5.10 August 2nd 2015
- Fixes bugs:
- Make testbench generation deterministic
- Compile against unbound-generics-0.2
0.5.9 July 9th 2015
- Fixes bugs:
coreView
didn't look through newtypes of the form:newtype Foo a = MkFoo (Maybe a)
0.5.8 June 26th 2015
- Fixes bugs:
- Allow text and tags in ~SIGD black box construct
0.5.7 June 25th 2015
-
New features:
- Support for copying string literals from Haskell to generated code
- Collect and copy data-files
-
Fixes bugs:
0.5.6 June 3rd 2015
- New features:
- Support Verilog backend
- Generated component names are prefixed by the name of the module containing the
topEntity
0.5.5 May 18th 2015
-
New features:
- Make inlining and specialisation limit configurable
- Make debug message level configurable
-
Fixes bugs:
- Netlist: ensure that the arguments of a component instantiation are always simple variables
- CaseCon transformation: ensure that we run the compile-time evaluator on the subject before handling the one-alternative case
- Emit a warning if a function remains recursive, instead of producing an error: compilation can still be successful if the function is an argument to a higher-order blackbox that doesn't use the function.
- Emit a warning if inlining limit is reached, instead of producing an error: compilation can still be successful if the function is an argument to a higher-order blackbox that doesn't use the function.
- Always inline terms that have a type of kind
Constraint
0.5.4 May 10th 2015
- New features:
- Add
~COMPNAME
tag: primitives get access to the component name in which they are instantiated
- Add
0.5.3 May 5th 2015
- New features:
TopEntity
wrappers are now specified asANN
annotation pragmas
- Fixes bugs:
- Lost system1000 clock in VHDL generation... #53
flattenCallTree
sometimes introduces free variables
0.5.2 May 1st 2015
- New features:
- Generate wrappers around
topEntity
that have constant names and types
- Generate wrappers around
0.5.1 April 20th 2015
- GHC 7.10 support
0.5 March 11th 2015
-
New features:
-
Fixes bugs:
- VHDL generation error: wrapper for sum-of-products type. #44
0.4.1 February 4th 2015
- Fixes bugs:
- Treat BlackBox expressions as declarations when DC args. #37
- Don't inline recursive closed bindings
0.4 November 17th 2014
-
New features:
- Support for clash-prelude 0.6
-
Fixes bugs:
- Ambiguous type: 'std_logic_vector' or 'std_ulogic_vector' #33
0.3.2 June 5th 2014
- Fixes bugs:
0.3.1 May 15th 2014
-
New features:
-
Fixes bugs:
-
Code improvements: