packages feed

clash-vhdl 0.5.11 → 0.5.12

raw patch · 3 files changed

+7/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog for the [`clash-vhdl`](http://hackage.haskell.org/package/clash-vhdl) package +## 0.5.12 *September 21st 2015*+* Fixes bugs:+  * Fix Index maxBound [#79](https://github.com/clash-lang/clash-compiler/pull/79)+ ## 0.5.11 *September 14th 2015* * Support for clash-lib-0.5.12 * Fixes bugs:
clash-vhdl.cabal view
@@ -1,5 +1,5 @@ Name:                 clash-vhdl-Version:              0.5.11+Version:              0.5.12 Synopsis:             CAES Language for Synchronous Hardware - VHDL backend Description:   CλaSH (pronounced ‘clash’) is a functional hardware description language that
primitives/CLaSH.Sized.Internal.Index.json view
@@ -37,7 +37,7 @@ , { "BlackBox" :     { "name"      : "CLaSH.Sized.Internal.Index.maxBound#"     , "type"      : "maxBound# :: KnownNat n => Index n"-    , "templateE" : "to_unsigned(max(0,~LIT[0]-1),~RESULT'length);"+    , "templateE" : "to_unsigned(max(0,~LIT[0]-1),~SIZE[~TYPO])"     }   } , { "BlackBox" :@@ -61,7 +61,7 @@ , { "BlackBox" :     { "name"      : "CLaSH.Sized.Internal.Index.fromInteger#"     , "type"      : "fromInteger# :: KnownNat n => Integer -> Index n"-    , "templateE" : "to_unsigned(~ARG[1],integer(ceil(log2(real(max(2,~LIT[0]))))))"+    , "templateE" : "to_unsigned(~ARG[1],~SIZE[~TYPO])"     }   } , { "BlackBox" :