Skip to content

Commit

Permalink
Merge pull request #2061 from clash-lang/release-v1.4.7
Browse files Browse the repository at this point in the history
Release v1.4.7
  • Loading branch information
DigitalBrains1 authored Jan 30, 2022
2 parents 75d2040 + 1c19396 commit fa01fd9
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .ci/bindist/linux/snap/snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: clash
version: '1.4.6'
version: '1.4.7'
summary: 'Clash: from Haskell to hardware'
description: |
Clash is a functional hardware description language that borrows both its
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# Changelog for the Clash project
## 1.4.7 *Jan 30th 2022*
Fixed:
* Clash now shows days in time strings for compile runs which take longer than a day [#1989](https://github.com/clash-lang/clash-compiler/compare/issue-1989).
* Types defined in the package head are no longer qualified in the package body when rendering VHDL [#1996](https://github.com/clash-lang/clash-compiler/issues/1996).
* `asyncRam` with different read and write clocks no longer produce the wrong results in Haskell simulation. [#2031](https://github.com/clash-lang/clash-compiler/pull/2031)
* `Clash.Explicit.RAM.asyncRam#` Haskell simulation incorrectly treated an _undefined_ write enable as asserted. It now causes an _undefined_ value to be written instead. This problem did not propagate to the other `asyncRam` functions, where the same condition would simultaneously lead to an undefined write address, which would be handled correctly. This problem also only affects Haskell simulation, not the generated HDL. [#2031](https://github.com/clash-lang/clash-compiler/pull/2031)
* `Clash.Explicit.BlockRam.blockRam#` and `Clash.Explicit.BlockRam.File.blockRamFile#` Haskell simulation incorrectly treated an _undefined_ write enable as asserted. It now causes an _undefined_ value to be written instead. This problem did not propagate to the other `blockRam` functions, where the same condition would simultaneously lead to an undefined write address, which would be handled correctly. This problem also only affects Haskell simulation, not the generated HDL.([#2054](https://github.com/clash-lang/clash-compiler/pull/2054))

Internal changes:
* Removed instances of `Hashable Term` and `Hashable Type` [#1986](https://github.com/clash-lang/clash-compiler/pull/1986)
* Added structural equality on `Term` (`Clash.Core.Subst.eqTerm`) and `Type` (`Clash.Core.Subst.eqType`)

Internal fixes:
* Enable used to be a `Bool` in the Blackbox DSL, so we could use `boolToBit`. However it now has its own type in the DSL (`Enable domainName`), so we've added a new conversion function in order to convert it to a Bool.


## 1.4.6 *Oct 26th 2021*

Expand Down
1 change: 0 additions & 1 deletion changelog/2021-11-06T19_59_52+01_00_remove_hashable_type

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2021-11-07T22_31_23+01_00_structural_equality

This file was deleted.

5 changes: 0 additions & 5 deletions changelog/2021-11-08T10_15_39+00_00_add_enable_to_bit

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2021-11-09T16_33_04+01_00_show_days_time.md

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/2021-11-19T16_19_41+01_00_asyncram_multi_clk_fix

This file was deleted.

1 change: 0 additions & 1 deletion changelog/2022-01-26T11_43_59+01_00_blockram_undef_enable

This file was deleted.

2 changes: 1 addition & 1 deletion clash-cores/clash-cores.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.2

name: clash-cores
version: 1.4.6
version: 1.4.7
synopsis: A collection of IP cores for Clash
description: A collection of IP cores for Clash
bug-reports: https://github.com/clash-lang/clash-cores/issues
Expand Down
6 changes: 3 additions & 3 deletions clash-ghc/clash-ghc.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Cabal-version: 2.2
Name: clash-ghc
Version: 1.4.6
Version: 1.4.7
Synopsis: Clash: a functional hardware description language - GHC frontend
Description:
Clash is a functional hardware description language that borrows both its
Expand Down Expand Up @@ -163,8 +163,8 @@ library
transformers >= 0.5.2.0 && < 0.7,
unordered-containers >= 0.2.1.0 && < 0.3,

clash-lib == 1.4.6,
clash-prelude == 1.4.6,
clash-lib == 1.4.7,
clash-prelude == 1.4.7,
concurrent-supply >= 0.1.7 && < 0.2,
ghc-typelits-extra >= 0.3.2 && < 0.5,
ghc-typelits-knownnat >= 0.6 && < 0.8,
Expand Down
4 changes: 2 additions & 2 deletions clash-lib/clash-lib.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Cabal-version: 2.2
Name: clash-lib
Version: 1.4.6
Version: 1.4.7
Synopsis: Clash: a functional hardware description language - As a library
Description:
Clash is a functional hardware description language that borrows both its
Expand Down Expand Up @@ -144,7 +144,7 @@ Library
base16-bytestring >= 0.1.1 && < 1.1,
binary >= 0.8.5 && < 0.11,
bytestring >= 0.10.0.2 && < 0.12,
clash-prelude == 1.4.6,
clash-prelude == 1.4.7,
concurrent-supply >= 0.1.7 && < 0.2,
containers >= 0.5.0.0 && < 0.7,
cryptohash-sha256 >= 0.11 && < 0.12,
Expand Down
2 changes: 1 addition & 1 deletion clash-prelude/clash-prelude.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Cabal-version: 2.2
Name: clash-prelude
Version: 1.4.6
Version: 1.4.7
Synopsis: Clash: a functional hardware description language - Prelude library
Description:
Clash is a functional hardware description language that borrows both its
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
project = 'Clash'
copyright = '2017-2019, The Clash Developers'
author = 'The Clash Developers'
version = '1.4.6'
version = '1.4.7'
release = version

# Syntax highlighting
Expand Down

0 comments on commit fa01fd9

Please sign in to comment.